2024-08-22 22:45:13 +02:00
---
# https://gitea.com/gitea/act_runner/src/branch/main/examples/docker-compose
services:
runner:
container_name: act-runner
image: gitea/act_runner
restart: always
volumes:
- act_runner_data:/data
2024-09-16 18:47:35 +02:00
- ./config.yml:/config.yml
2024-08-22 22:45:13 +02:00
- /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"
2024-09-16 18:47:35 +02:00
CONFIG_FILE: /config.yml
2024-08-22 22:45:13 +02:00
volumes:
act_runner_data: