Move runner configuration to git repo
This commit is contained in:
parent
ff57f88c5b
commit
557eeb705d
|
@ -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",
|
||||
]
|
||||
|
|
34
docker/forgejo/runner.yaml
Normal file
34
docker/forgejo/runner.yaml
Normal 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:
|
Loading…
Reference in a new issue