Adding gitea act_runner roles

This commit is contained in:
ml
2026-07-02 07:49:53 +02:00
parent 2ccf2c9826
commit 06afde4a87
7 changed files with 148 additions and 0 deletions
@@ -0,0 +1,17 @@
# Managed by Ansible — do not edit manually
services:
{% for i in range(1, act_runner_count + 1) %}
runner-{{ i }}:
image: gitea/act_runner:{{ act_runner_version }}
container_name: act-runner-{{ i }}
restart: unless-stopped
environment:
- GITEA_INSTANCE_URL=https://{{ domain_gitea }}
- GITEA_RUNNER_REGISTRATION_TOKEN={{ gitea_runner_registration_token }}
- GITEA_RUNNER_NAME=runner-{{ i }}
- CONFIG_FILE=/config.yml
volumes:
- {{ act_runner_data_dir }}/runner-{{ i }}:/data
- {{ act_runner_data_dir }}/config.yml:/config.yml:ro
- /var/run/docker.sock:/var/run/docker.sock
{% endfor %}