From 1463b4b78f6f70cd653aa6ee1e5ba4309ffc5dd2 Mon Sep 17 00:00:00 2001 From: vbevdev Date: Tue, 16 Jun 2026 05:37:54 +0300 Subject: [PATCH] up runner after git healthy --- docker-compose.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index b00443d..0682072 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -78,9 +78,17 @@ services: GITEA__service__DISABLE_REGISTRATION: true GITEA__other__SHOW_FOOTER_VERSION: false GITEA__other__SHOW_FOOTER_POWERED_BY: false + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:3000/api/healthz"] + interval: 10s + timeout: 5s + retries: 3 git-runner: image: 'gitea/act_runner:latest' + depends_on: + git: + condition: service_healthy environment: CONFIG_FILE: /config.yaml GITEA_INSTANCE_URL: "${GITEA_URL}"