From 20f3512ef28db2287fd22bbd5ef093577a851e1a Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Thu, 10 Aug 2023 23:11:56 +0200 Subject: [PATCH] gitea : fix healthcheck --- podman-gitea/container-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/podman-gitea/container-compose.yml b/podman-gitea/container-compose.yml index 7b38692..de063c5 100644 --- a/podman-gitea/container-compose.yml +++ b/podman-gitea/container-compose.yml @@ -13,10 +13,11 @@ services: - ${weblisten_if}:${weblisten_port}:3000 - ${sshlisten_if}:${sshlisten_port}:22 healthcheck: - test: ["CMD", "/healthcheck.sh"] + test: ["CMD", "curl", "-fSs", "http://localhost:3000/api/healthz"] interval: 60s timeout: 10s retries: 5 + start_period: 5s depends_on: - db