Move runner configuration to git repo

This commit is contained in:
Marko Korhonen 2024-02-25 11:24:18 +02:00
parent ff57f88c5b
commit 557eeb705d
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
2 changed files with 35 additions and 0 deletions

View file

@ -17,6 +17,7 @@ container_name = "forgejo-runner"
user = "root:root"
volumes = [
"runner:/data",
"./runner.yaml:/data/config.yaml",
"/var/run/docker.sock:/var/run/docker.sock",
"/etc/localtime:/etc/localtime:ro",
]

View file

@ -0,0 +1,34 @@
log:
level: info
runner:
file: .runner
capacity: 2
env_file: .env
timeout: 3h
insecure: false
fetch_timeout: 5s
fetch_interval: 2s
labels:
- 'docker:docker://git.korhonen.cc/functionalhacker/ubuntu-act:22.04'
cache:
enabled: true
dir: ''
host: ''
port: 0
external_server: ''
container:
network: ''
enable_ipv6: false
privileged: false
options:
workdir_parent:
valid_volumes:
- 'caddy_korhonen_cc'
docker_host: ''
force_pull: false
host:
workdir_parent: