Deploy gitea's runner

Unofficial container, because there isn't an official one
This commit is contained in:
Jake Howard
2023-03-26 00:01:55 +00:00
parent 23c2f7bcec
commit a6a6fd9e76
8 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,15 @@
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