From bd875e08013d7c3dd70f68765279e28eb1934cdb Mon Sep 17 00:00:00 2001 From: brooke Date: Mon, 10 Mar 2025 14:57:04 -0400 Subject: [PATCH] more reliable healthcheck --- compose.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/compose.yml b/compose.yml index b6c107c..6ab6a02 100644 --- a/compose.yml +++ b/compose.yml @@ -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: