mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-11 12:09:25 +00:00
25 lines
675 B
YAML
25 lines
675 B
YAML
services:
|
|
onlyoffice:
|
|
image: onlyoffice/documentserver:latest
|
|
restart: unless-stopped
|
|
stop_grace_period: 60s
|
|
environment:
|
|
- JWT_ENABLED=true
|
|
- JWT_SECRET=${JWT_SECRET:?required}
|
|
# - ALLOW_PRIVATE_IP_ADDRESS=${ALLOW_PRIVATE_IP_ADDRESS:-false}
|
|
volumes:
|
|
- onlyoffice-data:/var/www/onlyoffice/Data
|
|
- onlyoffice-lib:/var/lib/onlyoffice
|
|
- onlyoffice-logs:/var/log/onlyoffice
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "curl -fsS http://localhost/healthcheck | grep -qx true"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
start_period: 120s
|
|
|
|
volumes:
|
|
onlyoffice-data:
|
|
onlyoffice-lib:
|
|
onlyoffice-logs:
|