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}"