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}"
|
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||||
- "coop-cloud.${STACK_NAME}.version=0.1.1+v0.90.78"
|
- "coop-cloud.${STACK_NAME}.version=0.1.1+v0.90.78"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-s", "http://localhost:8080/health", "|", "jq", "-r", "-e", ".online==true"]
|
test: ["CMD", "curl", "-s", "http://localhost:8080/health"]
|
||||||
interval: 60s
|
interval: 30s
|
||||||
timeout: 10s
|
|
||||||
retries: 3
|
retries: 3
|
||||||
|
start_period: 10s
|
||||||
|
timeout: 10s
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user