generated from coop-cloud/example
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 64a030b0db | |||
| bc5bf18b21 |
@ -25,3 +25,8 @@
|
||||
|
||||
For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech) and [`ONLYOFFICE/Docker-DocumentServer`](https://github.com/ONLYOFFICE/Docker-DocumentServer).
|
||||
[Official Onlyoffice docker compose](https://github.com/ONLYOFFICE/Docker-DocumentServer/blob/master/docker-compose.yml)
|
||||
|
||||
## Add custom fonts
|
||||
Per default the config parameter for **GENERATE_FONT** is set to *true*, so fonts list and the fonts thumbnails are regenerated at each start. To add additional fonts you can copy them via abra to the volume `/usr/share/fonts/truetype` and restart the service:
|
||||
* `abra app cp 123.net calibri-regular.ttf app:/usr/share/fonts/truetype`
|
||||
* `abra app restart office.tmp.dev.local-it.cloud service app`
|
||||
|
||||
@ -20,6 +20,8 @@ services:
|
||||
AUTO_ASSEMBLY_ENABLED:
|
||||
AUTO_ASSEMBLY_INTERVAL:
|
||||
AUTO_ASSEMBLY_STEP:
|
||||
volumes:
|
||||
- fonts:/usr/share/fonts/truetype
|
||||
secrets:
|
||||
- db_password
|
||||
healthcheck:
|
||||
@ -47,7 +49,7 @@ services:
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-fwdproto"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-fwdproto.headers.customRequestHeaders.X-Forwarded-Proto=https"
|
||||
- "coop-cloud.${STACK_NAME}.version=2.11.0+9.0.2"
|
||||
- "coop-cloud.${STACK_NAME}.version=2.11.1+9.0.2"
|
||||
|
||||
rabbitmq:
|
||||
image: rabbitmq:4.1.1
|
||||
@ -91,6 +93,7 @@ services:
|
||||
|
||||
volumes:
|
||||
db:
|
||||
fonts:
|
||||
|
||||
|
||||
networks:
|
||||
|
||||
2
release/2.11.1+9.0.2
Normal file
2
release/2.11.1+9.0.2
Normal file
@ -0,0 +1,2 @@
|
||||
This patch upgrade adds a fonts volume
|
||||
Custom fonts can be copied there as described in the readme
|
||||
Reference in New Issue
Block a user