Skip to content

enhancement: add the ability to provide collabora fonts from openCloud#2818

Draft
fschade wants to merge 1 commit into
opencloud-eu:mainfrom
fschade:collabora-oc-font-provider
Draft

enhancement: add the ability to provide collabora fonts from openCloud#2818
fschade wants to merge 1 commit into
opencloud-eu:mainfrom
fschade:collabora-oc-font-provider

Conversation

@fschade
Copy link
Copy Markdown
Member

@fschade fschade commented May 21, 2026

Description

TODO

.env

# BASE
export OC_LOG_LEVEL=error
export OC_LOG_PRETTY=true
export OC_LOG_COLOR=true
export OC_INSECURE=true

# DATA
export OC_BASE_DATA_PATH="${HOME}/Developer/fschade/opencloud/tmp/env/collabora/data/opencloud"
export OC_CONFIG_DIR="${HOME}/Developer/fschade/opencloud/tmp/env/collabora/data/opencloud"

# PROXY
export PROXY_ENABLE_BASIC_AUTH=true

export OC_URL="https://host.docker.internal:9200"


# IDM
export IDM_CREATE_DEMO_USERS=true
export IDM_ADMIN_PASSWORD=admin

export COLLABORA_DOMAIN=host.docker.internal:9980
export OC_ADD_RUN_SERVICES="collaboration"
export PROXY_CSP_CONFIG_FILE_LOCATION="${HOME}/Developer/fschade/opencloud/tmp/env/collabora/config/oc/csp.yaml"

export COLLABORATION_GRPC_ADDR=0.0.0.0:9301
export COLLABORATION_HTTP_ADDR=0.0.0.0:9300
export COLLABORATION_WOPI_SRC=https://host.docker.internal:9300

export COLLABORATION_APP_ADDR=https://host.docker.internal:9980
export COLLABORATION_APP_ICON=https://host.docker.internal:9980/favicon.ico
export COLLABORATION_APP_INSECURE=true
export COLLABORATION_CS3API_DATAGATEWAY_INSECURE=true
export COLLABORATION_LOG_LEVEL=info
export OC_HTTP_TLS_ENABLED=true
export COLLABORATION_APP_PROOF_DISABLE=true

docker-compose.yaml (collabora)

---
services:
  collabora:
    image: collabora/code:25.04.9.4.1
    ports:
      - "9980:9980"
    entrypoint: [ '/bin/bash', '-c' ]
    command: [ 'coolconfig generate-proof-key && /start-collabora-online.sh' ]
    environment:
      aliasgroup1: https://host.docker.internal:9200
      username: admin
      password: admin
      extra_params: |
        --o:ssl.enable=true \
        --o:ssl.termination=false \
        --o:ssl.ssl_verification=false \
        --o:welcome.enable=true \
        --o:net.frame-ancestors=https://host.docker.internal:9200 \
        --o:net.lok_allow.host[14]=https://host.docker.internal:9200 \
        --o:remote_font_config.url=https://host.docker.internal:9200/fonts/fonts.json
    cap_add:
      - MKNOD

@fschade fschade self-assigned this May 21, 2026
@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented May 21, 2026

Not up to standards ⛔

🔴 Issues 1 critical

Alerts:
⚠ 1 issue (≤ 0 issues of at least minor severity)

Results:
1 new issue

Category Results
Security 1 critical

View in Codacy

🟢 Metrics 15 complexity · 1 duplication

Metric Results
Complexity 15
Duplication 1

View in Codacy

🟢 Coverage 0.00% diff coverage · -0.02% coverage variation

Metric Results
Coverage variation -0.02% coverage variation (-1.00%)
Diff coverage 0.00% diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (4572848) 81228 18667 22.98%
Head commit (d033184) 81309 (+81) 18669 (+2) 22.96% (-0.02%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#2818) 84 0 0.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant