Add config.yaml file for the runner
This commit is contained in:
parent
d51275e28f
commit
6b1fc98d1b
2 changed files with 109 additions and 1 deletions
|
@ -20,7 +20,8 @@ services:
|
|||
DOCKER_HOST: 'unix:///dind/docker.sock'
|
||||
user: $RUNNER_UID:$RUNNER_GID
|
||||
volumes:
|
||||
- ./config.yaml:/config.yaml
|
||||
- ./data:/data
|
||||
- ./dind:/dind
|
||||
restart: 'unless-stopped'
|
||||
command: '/bin/sh -c "sleep 5; forgejo-runner daemon"'
|
||||
command: '/bin/sh -c "sleep 5; forgejo-runner daemon -c /config.yaml"'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue