43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
log:
|
|
level: info
|
|
|
|
runner:
|
|
file: .runner
|
|
capacity: 4
|
|
envs: {}
|
|
env_file: .env
|
|
timeout: 3h
|
|
insecure: false
|
|
fetch_timeout: 5s
|
|
fetch_interval: 2s
|
|
labels: []
|
|
|
|
cache:
|
|
enabled: true
|
|
dir: ""
|
|
# "gitea_runner" (relying on shared networking via container.network below)
|
|
# didn't work - job containers get their own auto-created per-task network
|
|
# regardless of container.network (a known act_runner limitation, confirmed
|
|
# by inspecting a live job container: it was never attached to falcon_network
|
|
# at all). host.docker.internal resolves to that per-task network's own
|
|
# gateway instead, which *does* route back to this container's published
|
|
# port on the host - see https://docs.gitea.com/runner/cache/.
|
|
host: "host.docker.internal"
|
|
port: 8088
|
|
external_server: ""
|
|
|
|
container:
|
|
network: ""
|
|
privileged: false
|
|
# --add-host is what makes host.docker.internal (used for cache.host above)
|
|
# resolve inside job containers on Linux - Docker only wires it up
|
|
# automatically on Docker Desktop (Mac/Windows), not here.
|
|
options: "-v /var/run/docker.sock:/var/run/docker.sock --add-host=host.docker.internal:host-gateway"
|
|
workdir_parent: ""
|
|
valid_volumes: []
|
|
docker_host: ""
|
|
force_pull: false
|
|
|
|
host:
|
|
workdir_parent: ""
|