--- services: opencloud: environment: # this is needed for setting the correct CSP header EURO_OFFICE_DOMAIN: ${EURO_OFFICE_DOMAIN:-euro-office.opencloud.test} TRAEFIK_PORT_HTTPS: ${TRAEFIK_PORT_HTTPS:+:}${TRAEFIK_PORT_HTTPS:-} # run the collaboration (WOPI) service inside the main opencloud process, # appended to any user defined services in START_ADDITIONAL_SERVICES OC_ADD_RUN_SERVICES: ${START_ADDITIONAL_SERVICES:-}${START_ADDITIONAL_SERVICES:+,}collaboration # collaboration service configuration; the WOPI endpoint is served by the # opencloud proxy on the opencloud domain (/wopi and /collaboration routes), # so no separate wopiserver domain, route or port is needed COLLABORATION_WOPI_SRC: https://${OC_DOMAIN:-cloud.opencloud.test}${TRAEFIK_PORT_HTTPS:+:}${TRAEFIK_PORT_HTTPS:-} COLLABORATION_APP_NAME: "Euro-Office" COLLABORATION_APP_PRODUCT: "OnlyOffice" COLLABORATION_APP_ADDR: https://${EURO_OFFICE_DOMAIN:-euro-office.opencloud.test}${TRAEFIK_PORT_HTTPS:+:}${TRAEFIK_PORT_HTTPS:-} COLLABORATION_APP_ICON: https://${EURO_OFFICE_DOMAIN:-euro-office.opencloud.test}${TRAEFIK_PORT_HTTPS:+:}${TRAEFIK_PORT_HTTPS:-}/web-apps/apps/documenteditor/main/resources/img/favicon.ico COLLABORATION_APP_INSECURE: "${INSECURE:-true}" COLLABORATION_CS3API_DATAGATEWAY_INSECURE: "${INSECURE:-true}" COLLABORATION_APP_PROOF_DISABLE: "true" volumes: - ./config/euro-office/app-registry.yaml:/etc/opencloud/app-registry.yaml euro-office: image: ${EURO_OFFICE_DOCKER_IMAGE:-ghcr.io/euro-office/documentserver}:${EURO_OFFICE_DOCKER_TAG:-latest} # changelog https://github.com/EURO-office/DocumentServer/releases networks: opencloud-net: environment: WOPI_ENABLED: "true" # self-signed certificates USE_UNAUTHORIZED_STORAGE: "${INSECURE:-false}" volumes: # Mount local TrueType fonts so the container can use system fonts # (e.g. Microsoft fonts like Arial, Calibri, Cambria by installing the `ttf-mscorefonts-installer` package). - /usr/share/fonts/truetype:/usr/share/fonts/truetype/more:ro logging: driver: ${LOG_DRIVER:-local} restart: always healthcheck: test: [ "CMD", "bash", "-c", "exec 3<>/dev/tcp/127.0.0.1/80 && printf 'GET /hosting/discovery HTTP/1.1\r\nHost: localhost\r\nConnection: close\r\n\r\n' >&3 && cat <&3 | head -1 | grep -q '200 OK'" ] interval: 30s timeout: 10s retries: 5 start_period: 120s