From a8bb7de7b960dd7eaa2637462e4185cc61910a65 Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Thu, 10 Aug 2023 22:55:02 +0200 Subject: [PATCH] gitea : add healthcheck --- podman-gitea/container-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/podman-gitea/container-compose.yml b/podman-gitea/container-compose.yml index aeb6439..7b38692 100644 --- a/podman-gitea/container-compose.yml +++ b/podman-gitea/container-compose.yml @@ -12,6 +12,11 @@ services: ports: - ${weblisten_if}:${weblisten_port}:3000 - ${sshlisten_if}:${sshlisten_port}:22 + healthcheck: + test: ["CMD", "/healthcheck.sh"] + interval: 60s + timeout: 10s + retries: 5 depends_on: - db