Compare commits

...

2 Commits
main ... health

Author SHA1 Message Date
e23cd00dde healthcheck ok 2025-01-13 17:16:40 +01:00
f63cf01656 healthcheck ok 2025-01-09 16:35:46 +01:00
2 changed files with 12 additions and 3 deletions

View File

@ -80,4 +80,5 @@ docker exec onlyoffice /var/www/onlyoffice/documentserver/npm/json -f /etc/onlyo
- [X] rabbitmq ? -> shooté
- [X] nginx reverse conf
- [X] really need volumes ?! -> NON!
- [x] HealthCheck ok

View File

@ -1,7 +1,6 @@
version: '2'
version: '3.8'
services:
onlyoffice:
image: onlyoffice/documentserver
container_name: onlyoffice
@ -11,4 +10,13 @@ services:
restart: unless-stopped
stop_grace_period: 60s
ports:
- '${HOST_PORT}:80'
- "${HOST_PORT:-80}:80"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80/healthcheck"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
volumes:
- ./data:/var/www/onlyoffice/Data # Persistance des données
- ./log:/var/log/onlyoffice # Logs pour le debug