From 69b40132c062ebdbc6b022ddfe4d0e4d50d813d9 Mon Sep 17 00:00:00 2001 From: Alexander Ackermann Date: Thu, 6 Nov 2025 10:51:07 +0100 Subject: [PATCH] feat: mount local system font dir to collabora --- weboffice/collabora.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/weboffice/collabora.yml b/weboffice/collabora.yml index fe1bb33..f48644a 100644 --- a/weboffice/collabora.yml +++ b/weboffice/collabora.yml @@ -41,6 +41,9 @@ services: volumes: # configure the .env file to use own paths instead of docker internal volumes - ${OC_CONFIG_DIR:-opencloud-config}:/etc/opencloud + # in order to add new fonts, add then to /usr/share/fonts/truetype on your local system + - /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 +71,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