mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-06-08 20:20:04 +08:00
feat: mount local system font dir to collabora
This commit is contained in:
@@ -41,6 +41,9 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
# configure the .env file to use own paths instead of docker internal volumes
|
# configure the .env file to use own paths instead of docker internal volumes
|
||||||
- ${OC_CONFIG_DIR:-opencloud-config}:/etc/opencloud
|
- ${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:
|
logging:
|
||||||
driver: ${LOG_DRIVER:-local}
|
driver: ${LOG_DRIVER:-local}
|
||||||
restart: always
|
restart: always
|
||||||
@@ -68,8 +71,8 @@ services:
|
|||||||
logging:
|
logging:
|
||||||
driver: ${LOG_DRIVER:-local}
|
driver: ${LOG_DRIVER:-local}
|
||||||
restart: always
|
restart: always
|
||||||
entrypoint: ['/bin/bash', '-c']
|
entrypoint: [ '/bin/bash', '-c' ]
|
||||||
command: ['coolconfig generate-proof-key && /start-collabora-online.sh']
|
command: [ 'coolconfig generate-proof-key && /start-collabora-online.sh' ]
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "curl", "-f", "http://localhost:9980/hosting/discovery" ]
|
test: [ "CMD", "curl", "-f", "http://localhost:9980/hosting/discovery" ]
|
||||||
interval: 15s
|
interval: 15s
|
||||||
|
|||||||
Reference in New Issue
Block a user