# act_runner configuration — stored as a Docker Swarm Config object. # Referenced in runner-swarm.yml under configs.act_runner_config. # # After changing this file, update the swarm config: # docker config rm act_runner_config # docker stack deploy -c forgejo-stack.yml forgejo (or docker compose up -d) log: level: info runner: capacity: 2 # concurrent jobs timeout: 30m cache: enabled: true dir: /data/.cache container: # bridge: job containers get internet access via NAT but are isolated from # each other and the swarm overlay. Sufficient for npm/pip/docker push. network: bridge # Whitelist of host paths that workflow steps are allowed to bind-mount. # The Docker socket is required for the build and deploy jobs. valid_volumes: - /var/run/docker.sock