1
0
Fork 0

Add config.yaml file for the runner

This commit is contained in:
Sergio Talens-Oliag 2025-03-13 16:32:50 +01:00
parent d51275e28f
commit 6b1fc98d1b
Signed by: sto
GPG key ID: 821AEE0FD167FBDF
2 changed files with 109 additions and 1 deletions

View file

@ -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"'