generated from coop-cloud/example
Compare commits
8
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bd3b0971e4 | ||
|
|
2820843f6a | ||
|
|
59971c18be | ||
|
|
5da7b78c14 | ||
|
|
6c8b7dd2a7 | ||
|
|
04caca0798
|
||
|
|
45d1f09317 | ||
|
|
b571899521 |
+2
-1
@@ -19,6 +19,7 @@ steps:
|
||||
LETS_ENCRYPT_ENV: production
|
||||
ENTRYPOINT_VERSION: v1
|
||||
SECRET_DB_PASSWORD_VERSION: v1
|
||||
PG_BACKUP_VERSION: v2
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
@@ -34,7 +35,7 @@ steps:
|
||||
from_secret: drone_abra-bot_token
|
||||
fork: true
|
||||
repositories:
|
||||
- coop-cloud/auto-recipes-catalogue-json
|
||||
- toolshed/auto-recipes-catalogue-json
|
||||
|
||||
trigger:
|
||||
event: tag
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
TYPE=onlyoffice
|
||||
TIMEOUT=300
|
||||
#TIMEOUT=300
|
||||
ENABLE_AUTO_UPDATE=true
|
||||
LETS_ENCRYPT_ENV=production
|
||||
ENABLE_BACKUPS=true
|
||||
|
||||
@@ -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`
|
||||
|
||||
+8
-5
@@ -1,7 +1,7 @@
|
||||
version: '3.8'
|
||||
services:
|
||||
app:
|
||||
image: onlyoffice/documentserver:8.2.1
|
||||
image: onlyoffice/documentserver:9.0.2
|
||||
depends_on:
|
||||
- db
|
||||
- rabbitmq
|
||||
@@ -20,6 +20,8 @@ services:
|
||||
AUTO_ASSEMBLY_ENABLED:
|
||||
AUTO_ASSEMBLY_INTERVAL:
|
||||
AUTO_ASSEMBLY_STEP:
|
||||
volumes:
|
||||
- fonts:/usr/share/fonts/truetype
|
||||
secrets:
|
||||
- db_password
|
||||
healthcheck:
|
||||
@@ -38,7 +40,7 @@ services:
|
||||
failure_action: rollback
|
||||
order: start-first
|
||||
labels:
|
||||
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
|
||||
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT}"
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=proxy"
|
||||
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
|
||||
@@ -47,10 +49,10 @@ 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.9.0+8.2.1"
|
||||
- "coop-cloud.${STACK_NAME}.version=2.11.0+9.0.2"
|
||||
|
||||
rabbitmq:
|
||||
image: rabbitmq:4.0.4
|
||||
image: rabbitmq:4.1.1
|
||||
networks:
|
||||
- internal
|
||||
healthcheck:
|
||||
@@ -61,7 +63,7 @@ services:
|
||||
start_period: 1m
|
||||
|
||||
db:
|
||||
image: postgres:9.5
|
||||
image: postgres:9.6
|
||||
deploy:
|
||||
labels:
|
||||
backupbot.backup: "${ENABLE_BACKUPS:-true}"
|
||||
@@ -91,6 +93,7 @@ services:
|
||||
|
||||
volumes:
|
||||
db:
|
||||
fonts:
|
||||
|
||||
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user