2024-08-22 22:45:13 +02:00
---
# https://gitea.com/gitea/act_runner/src/branch/main/examples/docker-compose
services:
runner:
2024-11-15 21:22:13 +01:00
container_name: act-runner
image: gitea/act_runner:0.2.11
2024-10-23 18:21:54 +02:00
restart: unless-stopped
2024-10-23 18:20:04 +02:00
pull_policy: missing
2024-08-22 22:45:13 +02:00
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
2024-11-10 15:44:41 +01:00
GITEA_RUNNER_REGISTRATION_TOKEN: "{{ lookup('viczem.keepass.keepass', 'forgejo/gitea_act_runner_token', 'password') }}" # only used on first start, https://git.mgrote.net/admin/actions/runners
2024-08-22 22:45:13 +02:00
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: