Add nix_runner volumes and enable them in runner
All checks were successful
Check / Lint Ansible Files (push) Successful in 6m22s

This commit is contained in:
Paul Brinkmeier 2025-10-07 00:19:06 +02:00
parent e140109e20
commit 3bf6fc4104
2 changed files with 10 additions and 1 deletions

View File

@ -77,6 +77,12 @@
user: caddy
- name: codi_uploads
user: hackmd
- name: nix_runner_etc
user: 1000
- name: nix_runner_nix
user: 1000
- name: nix_runner_home_node
user: 1000
# Since some docker-compose configuration might want to pull
# images from the Gitea package repository, we need to ensure
# that Gitea is reachable before those configurations are deployed.

View File

@ -74,7 +74,10 @@ container:
# If you want to allow any volume, please use the following configuration:
# valid_volumes:
# - '**'
valid_volumes: []
valid_volumes:
- /var/lib/pbri/docker/nix_runner_etc
- /var/lib/pbri/docker/nix_runner_nix
- /var/lib/pbri/docker/nix_runner_home_node
# overrides the docker client host with the specified one.
# If it's empty, act_runner will find an available docker host automatically.
# If it's "-", act_runner will find an available docker host automatically, but the docker host won't be mounted to the job containers and service containers.