homeserver/docker-compose/act-runner/docker-compose.yml.j2
Michael Grote 089d4c0d13
All checks were successful
ansible-lint / gitleaks (push) Successful in -14m42s
ansible-lint / Ansible Lint (push) Successful in -14m17s
docker-compose: set pull_policy (#215)
Reviewed-on: #215
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2024-10-23 18:20:04 +02:00

20 lines
695 B
Django/Jinja

---
# https://gitea.com/gitea/act_runner/src/branch/main/examples/docker-compose
services:
runner:
container_name: act-runner
image: gitea/act_runner
restart: always
pull_policy: missing
volumes:
- act_runner_data:/data
- ./config.yml:/config.yml
- /var/run/docker.sock:/var/run/docker.sock
environment:
GITEA_INSTANCE_URL: https://git.mgrote.net
GITEA_RUNNER_REGISTRATION_TOKEN: "{{ lookup('viczem.keepass.keepass', 'gitea_act_runner_token', 'password') }}" # only used on first start, https://git.mgrote.net/admin/actions/runners
GITEA_RUNNER_NAME: "docker10-act-runner"
CONFIG_FILE: /config.yml
volumes:
act_runner_data: