host-forgejo-runner/templates/config.yml
GregoryDosh 2514c0db51
All checks were successful
Deploy Ansible Pipeline / Deploy Ansible Pipeline (push) Successful in 45s
feat: adjust timeout of runner to 1hour, decrease capacity 5->3, add shutdown timeout 10m
2025-07-29 18:05:08 +00:00

34 lines
653 B
YAML

log:
level: info
runner:
file: .runner
capacity: 3
envs:
DOCKER_HOST: tcp://docker:2376
DOCKER_TLS_VERIFY: 1
DOCKER_CERT_PATH: /certs/client
timeout: 1h
shutdown_timeout: 10m
insecure: false
fetch_timeout: 5s
fetch_interval: 2s
# If empty it will use the labels in the `.runner` file.
labels: []
cache:
enabled: true
dir: /workspace/cache
container:
network: host
enable_ipv6: false
privileged: true
options: -v /certs/client:/certs/client -v /workspace/forgejo/container/workspace:/workspace
valid_volumes:
- /certs/client
- /workspace/*
force_pull: true
host:
workdir_parent: /workspace