From d7921ca1b66154b637852ce0d54f3d280207cd2a Mon Sep 17 00:00:00 2001 From: brooke Date: Mon, 3 Mar 2025 22:21:55 -0500 Subject: [PATCH] use statping health endpoint --- compose.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/compose.yml b/compose.yml index 07e3a44..b6c107c 100644 --- a/compose.yml +++ b/compose.yml @@ -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: