healthcehck for git-runner

This commit is contained in:
2026-07-06 00:52:20 +03:00
parent a2fc1ed141
commit 66ee081c80
+6
View File
@@ -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: