Initial commit
Some checks failed
/ ansible-docsmith (push) Successful in 50s
/ molecule (certbot) (push) Failing after 29s
/ molecule (galene) (push) Failing after 1m5s
/ molecule (golang) (push) Has been cancelled

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2026-02-16 18:57:09 +01:00 committed by Julien Riou
commit 90e35576e6
Signed by: jriou
GPG key ID: 9A099EDA51316854
92 changed files with 3529 additions and 0 deletions

View file

@ -0,0 +1,27 @@
---
{{ ansible_managed | comment }}
services:
docker:
image: docker:dind
privileged: true
restart: always
volumes:
- certs:/certs
{% for runner in forgejo_runners %}
runner-{{ runner }}:
image: code.forgejo.org/forgejo/runner:{{ forgejo_runners_version }}
user: {{ ansible_facts.getent_passwd.forgejo[1] }}:{{ ansible_facts.getent_passwd.forgejo[2] }}
environment:
DOCKER_HOST: tcp://docker:2376
DOCKER_TLS_VERIFY: 1
DOCKER_CERT_PATH: /certs/client
restart: always
volumes:
- {{ forgejo_runners_config_dir }}/{{ runner }}:/data
- certs:/certs
command: 'forgejo-runner --config config.yml daemon'
{% endfor %}
volumes:
certs: