2024-08-22 21:07:12 +02:00
---
# https://gitea.com/gitea/act_runner/src/branch/main/examples/docker-compose
version: "3.7"
services:
runner:
2024-08-22 21:19:46 +02:00
container_name: act-runner
2024-08-22 21:07:12 +02:00
image: gitea/act_runner
restart: always
volumes:
- act_runner_data:/data
- /var/run/docker.sock:/var/run/docker.sock
environment:
2024-08-22 21:18:11 +02:00
GITEA_INSTANCE_URL: https://git.mgrote.net
2024-08-22 21:20:52 +02:00
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
2024-08-22 21:15:10 +02:00
GITEA_RUNNER_NAME: "docker10-act-runner"
2024-08-22 21:07:12 +02:00
volumes:
act_runner_data: