Improve healthcheck

This commit is contained in:
Telokis
2024-08-11 15:11:52 +02:00
parent a219942987
commit f080a4bf30

View File

@@ -14,7 +14,7 @@ services:
volumes: volumes:
- organizr-data:/config - organizr-data:/config
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80"] test: ["CMD-SHELL", "curl -sf http://localhost:80 || exit 1"]
interval: 2s interval: 10s
timeout: 10s timeout: 1s
retries: 30 retries: 3