18 lines
530 B
Django/Jinja
18 lines
530 B
Django/Jinja
---
|
|
# https://gitea.com/gitea/act_runner/src/branch/main/examples/docker-compose
|
|
version: "3.7"
|
|
services:
|
|
runner:
|
|
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: git.mgrote.net
|
|
GITEA_RUNNER_REGISTRATION_TOKEN: "{{ lookup('viczem.keepass.keepass', 'gitea_act_runner_token', 'password') }}"
|
|
GITEA_RUNNER_NAME: "docker10-act-runner"
|
|
|
|
volumes:
|
|
act_runner_data:
|