From 7a989baf6db727a5be62f1f0ac04f118335393e6 Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Thu, 10 Aug 2023 21:44:10 +0200 Subject: [PATCH] gitea : rename to container-compose.yml + PostgreSQL healthcheck --- podman-gitea/{docker-compose.yml => container-compose.yml} | 5 +++++ 1 file changed, 5 insertions(+) rename podman-gitea/{docker-compose.yml => container-compose.yml} (80%) diff --git a/podman-gitea/docker-compose.yml b/podman-gitea/container-compose.yml similarity index 80% rename from podman-gitea/docker-compose.yml rename to podman-gitea/container-compose.yml index 352bea6..aeb6439 100644 --- a/podman-gitea/docker-compose.yml +++ b/podman-gitea/container-compose.yml @@ -20,6 +20,11 @@ services: container_name: gitea-db volumes: - gitea-pgsql:/var/lib/postgresql/data:Z + healthcheck: + test: ["CMD-SHELL", "pg_isready -U postgres"] + interval: 5s + timeout: 5s + retries: 5 volumes: gitea-data: