initial runner deployment

This commit is contained in:
Lilian 2025-02-04 18:00:36 -05:00
parent d3bcffdab8
commit e189886c5b
5 changed files with 28 additions and 5 deletions

View file

@ -6,7 +6,7 @@ log:
runner:
# Where to store the registration result.
file: /etc/forgejo-runner/.runner
file: /etc/forgejo-actions/.runner
# Execute how many tasks concurrently at the same time.
capacity: 1
# Extra environment variables to run jobs.
@ -43,7 +43,7 @@ cache:
enabled: true
# The directory to store the cache data.
# If it's empty, the cache data will be stored in $HOME/.cache/actcache.
dir: "/var/cache/forgejo-actions"
dir: "/mnt/cache/forgejo-actions"
# The host of the cache server.
# It's not for the address to listen, but the address to connect from job containers.
# So 0.0.0.0 is a bad choice, leave it empty to detect automatically.
@ -86,7 +86,7 @@ container:
# If "-" or "", an available docker host will automatically be found.
# If "automount", an available docker host will automatically be found and mounted in the job container (e.g. /var/run/docker.sock).
# Otherwise the specified docker host will be used and an error will be returned if it doesn't work.
docker_host: "/var/run/podman/podman.sock"
docker_host: ""
# Pull docker image(s) even if already present
force_pull: false
# Rebuild local docker image(s) even if already present