xetup/runner-config.yml
X9 Dev beceeb4c1f ci(runner): bind-mount docker socket via container.options
docker_host auto-mount did not expose the socket on runner 6.3.1; mount it
explicitly so the deploy.json step's docker exec works.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-29 17:55:50 +02:00

26 lines
657 B
YAML

log:
level: info
runner:
file: /data/.runner
capacity: 1
timeout: 3h
fetch_timeout: 5s
fetch_interval: 2s
report_interval: 1s
cache:
enabled: true
container:
network: xetup
privileged: false
valid_volumes:
- '**'
# Explicitly bind-mount the host docker socket into job containers so steps
# like "Update deploy.json" can `docker exec xetup-web`. docker_host auto-mount
# ("") did not work on runner 6.3.1, so we mount the socket via options and
# let the job's default DOCKER_HOST (unix:///var/run/docker.sock) pick it up.
docker_host: "-"
options: "-v /var/run/docker.sock:/var/run/docker.sock"
force_pull: false