up runner after git healthy
This commit is contained in:
@@ -78,9 +78,17 @@ services:
|
|||||||
GITEA__service__DISABLE_REGISTRATION: true
|
GITEA__service__DISABLE_REGISTRATION: true
|
||||||
GITEA__other__SHOW_FOOTER_VERSION: false
|
GITEA__other__SHOW_FOOTER_VERSION: false
|
||||||
GITEA__other__SHOW_FOOTER_POWERED_BY: 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:
|
git-runner:
|
||||||
image: 'gitea/act_runner:latest'
|
image: 'gitea/act_runner:latest'
|
||||||
|
depends_on:
|
||||||
|
git:
|
||||||
|
condition: service_healthy
|
||||||
environment:
|
environment:
|
||||||
CONFIG_FILE: /config.yaml
|
CONFIG_FILE: /config.yaml
|
||||||
GITEA_INSTANCE_URL: "${GITEA_URL}"
|
GITEA_INSTANCE_URL: "${GITEA_URL}"
|
||||||
|
|||||||
Reference in New Issue
Block a user