Match compose layout to production dind + runner deployment

This commit is contained in:
agentbox committed 2026-11-05 11:51:11 +00:00
1 parent 6d04a924e3
commit 6f2c451187
17 files changed
+303 -785

No files matched your search

+5 -9
View File
@@ -3,8 +3,6 @@ log:
runner:
file: .runner
# The runner is intentionally single-slot. This avoids jobs racing for the
# same nested Docker daemon and its workspace volumes.
capacity: 1
timeout: 3h
labels:
@@ -12,21 +10,19 @@ runner:
- "gvisor:docker://alpine:3.20"
- "docker:docker://docker:28-cli"
envs:
# Jobs talk only to the sandboxed Docker daemon, never the runner's own
# privileged daemon.
# Jobs run with host networking inside the gVisor dind sandbox, where
# dockerd listens on loopback.
DOCKER_HOST: tcp://127.0.0.1:2375
cache:
enabled: true
container:
# Share the runner container's network namespace. This lets job containers
# resolve the Compose service name "gitea" and is useful for actions/checkout.
# The dind service is on the "ci" network.
docker_host: tcp://dind:2375
# Jobs share dind's sandbox network namespace.
network: host
privileged: false
# "-" means: use the local Docker daemon for runner internals, but never
# expose the runner's privileged socket to jobs.
docker_host: "-"
force_pull: false
host: