infrastructure/ansible/roles/gitea_runner/files/docker-compose.yml
Jake Howard a6a6fd9e76
Deploy gitea's runner
Unofficial container, because there isn't an official one
2023-03-26 00:01:55 +00:00

16 lines
450 B
YAML

version: "2.3"
services:
act-runner:
image: vegardit/gitea-act-runner:latest
network_mode: host
volumes:
- ./data:/data
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- TZ={{ timezone }}
- GITEA_INSTANCE_URL=https://gitea.theorangeone.net
- GITEA_RUNNER_REGISTRATION_TOKEN={{ gitea_runner_registration_token }}
- GITEA_RUNNER_NAME={{ ansible_hostname }}
restart: unless-stopped