Improve healthcheck
This commit is contained in:
parent
a219942987
commit
f080a4bf30
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue