diff --git a/nextcloud/docker-compose.yml b/nextcloud/docker-compose.yml index 5a9c6de..b8dd1ee 100644 --- a/nextcloud/docker-compose.yml +++ b/nextcloud/docker-compose.yml @@ -7,10 +7,10 @@ volumes: name: docker_nextcloud nextcloud: name: docker_nextcloud-conf - onlyoffice-data: - name: docker_onlyoffice-data -# onlyoffice-log: -# name: docker_onlyoffice-log + onlyoffice-cache: + name: docker_onlyoffice-cache + onlyoffice-db: + name: docker_onlyoffice-db networks: nextcloud: @@ -76,16 +76,19 @@ services: onlyoffice: container_name: onlyoffice - image: onlyoffice_unlimited:7.2.1 + image: onlyoffice_unlimited:7.2.1-9_forcesave restart: unless-stopped extra_hosts : cloud.oasis21.org : 172.16.7.11 environment: - JWT_ENABLED=true - JWT_SECRET=MvaG9zdHMgCnN1ZG8gbmFubyAvZXRjL2hvc3RzIApzY3AgVMOpbMOpY + - FORCESAVE_ENABLE=false + - FORCESAVE_INTERVAL=2m + - FORCESAVE_STEP=5m volumes: - - onlyoffice-data:/var/www/onlyoffice/Data - #- onlyoffice-log:/var/log/onlyoffice + - onlyoffice-cache:/var/lib/onlyoffice/documentserver/App_Data + - onlyoffice-db:/var/lib/postgresql labels: traefik.http.routers.onlyoffice.entrypoints: websecure traefik.http.routers.onlyoffice.rule: Host(`office.oasis21.org`)