Skip to content

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

Draft
fschade wants to merge 2 commits into
opencloud-eu:r_and_dfrom
fschade:collabora-oc-font-provider
Draft

enhancement: add the ability to provide collabora fonts from openCloud#2818
fschade wants to merge 2 commits into
opencloud-eu:r_and_dfrom
fschade:collabora-oc-font-provider

Conversation

@fschade
Copy link
Copy Markdown
Member

@fschade fschade commented May 21, 2026

Description

This PR introduces an API and web-APP to manage fonts and make them available to collabora.
Please note, collabora does not know about that api until it gets configured with ist, e.g. --o:remote_font_config.url=https://$OC_HOST/fonts/fonts.json.

fonts

.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/collaboration/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 ⛔

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.

@fschade fschade force-pushed the collabora-oc-font-provider branch from d033184 to 5667baa Compare May 26, 2026 11:31
@fschade fschade changed the base branch from main to r_and_d May 26, 2026 11:35
@github-project-automation github-project-automation Bot moved this to Qualification in OpenCloud Team Board May 26, 2026
@fschade fschade moved this from Qualification to Prio 1 in OpenCloud Team Board May 26, 2026
@fschade fschade moved this from Prio 1 to In Progress in OpenCloud Team Board May 26, 2026
@fschade fschade moved this from In Progress to Prio 1 in OpenCloud Team Board May 26, 2026
@fschade fschade requested a review from butonic May 26, 2026 11:36
@fschade fschade force-pushed the collabora-oc-font-provider branch from 26af773 to 95e4315 Compare May 26, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Prio 1

Development

Successfully merging this pull request may close these issues.

1 participant