fix(center): wire act_runner into compose network
cd / discover (push) Successful in 10s
cd / build (push) Failing after 2m25s
cd / rollout (push) Has been skipped

This commit is contained in:
zetaloop
2026-05-06 20:11:32 +08:00
parent 8cf1af8019
commit 3b293d39d3
2 changed files with 13 additions and 1 deletions
+7 -1
View File
@@ -83,19 +83,25 @@ services:
image: gitea/act_runner:0.6.1
container_name: juwan-runner
restart: unless-stopped
working_dir: /data
environment:
GITEA_INSTANCE_URL: http://gitea:3000
GITEA_RUNNER_REGISTRATION_TOKEN: ${RUNNER_TOKEN}
GITEA_RUNNER_NAME: juwan-center
GITEA_RUNNER_LABELS: ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest-slim
GITEA_RUNNER_LABELS: ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest
CONFIG_FILE: /data/config.yaml
volumes:
- ./runner/config.yaml:/data/config.yaml:ro
- runner-data:/data
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
gitea:
condition: service_healthy
networks:
default:
name: juwan-center
volumes:
caddy-data:
name: juwan-caddy-data