This commit is contained in:
2025-12-31 00:11:58 +01:00
parent aa7395ea6f
commit e9f0834538

View File

@@ -43,11 +43,11 @@ services:
restart: always restart: always
stop_grace_period: 60s stop_grace_period: 60s
volumes: volumes:
- /var/www/onlyoffice/Data - data:/var/www/onlyoffice/Data
- /var/log/onlyoffice - logs:/var/log/onlyoffice
- /var/lib/onlyoffice/documentserver/App_Data/cache/files - cache:/var/lib/onlyoffice/documentserver/App_Data/cache/files
- /var/www/onlyoffice/documentserver-example/public/files - files:/var/www/onlyoffice/documentserver-example/public/files
- /usr/share/fonts - fonts:/usr/share/fonts
onlyoffice-rabbitmq: onlyoffice-rabbitmq:
container_name: onlyoffice-rabbitmq container_name: onlyoffice-rabbitmq
@@ -73,13 +73,17 @@ services:
expose: expose:
- '5432' - '5432'
volumes: volumes:
- postgresql_data:/var/lib/postgresql - db:/var/lib/postgresql
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U onlyoffice"] test: ["CMD-SHELL", "pg_isready -U onlyoffice"]
interval: 10s interval: 10s
retries: 3 retries: 3
start_period: 10s start_period: 10s
timeout: 10s timeout: 10s
volumes: volumes:
postgresql_data: db:
data:
logs:
cache:
files:
fonts: