Improve healthcheck
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user