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:
|
||||
- organizr-data:/config
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:80"]
|
||||
interval: 2s
|
||||
timeout: 10s
|
||||
retries: 30
|
||||
test: ["CMD-SHELL", "curl -sf http://localhost:80 || exit 1"]
|
||||
interval: 10s
|
||||
timeout: 1s
|
||||
retries: 3
|
||||
|
|
|
|||
Loading…
Reference in a new issue