diff --git a/docker-compose.yml b/docker-compose.yml index 0682072..0d752a7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -99,6 +99,12 @@ services: - /var/run/docker.sock:/var/run/docker.sock secrets: - gitea_runner_registration_token + healthcheck: + test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:9101/healthz"] + interval: 30s + timeout: 5s + retries: 3 + start_period: 10s networks: default: