forked from coop-cloud/statping
more reliable healthcheck
This commit is contained in:
parent
d7921ca1b6
commit
bd875e0801
@ -24,10 +24,11 @@ services:
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.1.1+v0.90.78"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-s", "http://localhost:8080/health", "|", "jq", "-r", "-e", ".online==true"]
|
||||
interval: 60s
|
||||
timeout: 10s
|
||||
test: ["CMD", "curl", "-s", "http://localhost:8080/health"]
|
||||
interval: 30s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
timeout: 10s
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
|
Loading…
x
Reference in New Issue
Block a user