diff --git a/weboffice/collabora.yml b/weboffice/collabora.yml index fe1bb33..d18a8e1 100644 --- a/weboffice/collabora.yml +++ b/weboffice/collabora.yml @@ -41,6 +41,10 @@ services: volumes: # configure the .env file to use own paths instead of docker internal volumes - ${OC_CONFIG_DIR:-opencloud-config}:/etc/opencloud + # 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 + - /usr/share/fonts/truetype:/opt/cool/systemplate/usr/share/fonts/truetype/more:ro logging: driver: ${LOG_DRIVER:-local} restart: always @@ -68,8 +72,8 @@ services: logging: driver: ${LOG_DRIVER:-local} restart: always - entrypoint: ['/bin/bash', '-c'] - command: ['coolconfig generate-proof-key && /start-collabora-online.sh'] + entrypoint: [ '/bin/bash', '-c' ] + command: [ 'coolconfig generate-proof-key && /start-collabora-online.sh' ] healthcheck: test: [ "CMD", "curl", "-f", "http://localhost:9980/hosting/discovery" ] interval: 15s