From f080a4bf30ffc4a856a77bb2c96bc1f2bf0cca43 Mon Sep 17 00:00:00 2001 From: Telokis <6382729+Telokis@users.noreply.github.com> Date: Sun, 11 Aug 2024 15:11:52 +0200 Subject: [PATCH] Improve healthcheck --- templates/compose/organizr.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/compose/organizr.yaml b/templates/compose/organizr.yaml index df95730c4..658e29c65 100644 --- a/templates/compose/organizr.yaml +++ b/templates/compose/organizr.yaml @@ -14,7 +14,7 @@ services: volumes: - organizr-data:/config healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:80"] - interval: 2s - timeout: 10s - retries: 30 + test: ["CMD-SHELL", "curl -sf http://localhost:80 || exit 1"] + interval: 10s + timeout: 1s + retries: 3