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