homeserver/docker-compose/act-runner/docker-compose.yml.j2
Michael Grote 8395c2ec96
All checks were successful
ansible-lint / ansible-lint (push) Successful in 4m17s
gitleaks / gitleaks (push) Successful in 3m38s
replace woodpecker-ci with gitea-act-runner (#166) - part 1
Reviewed-on: #166
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2024-08-22 22:45:13 +02:00

19 lines
621 B
Django/Jinja

---
# https://gitea.com/gitea/act_runner/src/branch/main/examples/docker-compose
version: "3.7"
services:
runner:
container_name: act-runner
image: gitea/act_runner
restart: always
volumes:
- act_runner_data:/data
- /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"
volumes:
act_runner_data: