Jafner.net/homelab/stacks/gitea-runner/docker-compose.yml
Joey Hafner 6035817a3c
All checks were successful
Stacks CICD / Setup (push) Successful in 1m25s
Switch from ..._TOKEN_FILE to ..._TOKEN
Not sure how I hallucinated the _FILE functionality.
See this act_runner PR for info: https://gitea.com/gitea/act_runner/pulls/362
2024-08-29 20:30:16 -07:00

13 lines
418 B
YAML

services:
runner-1:
image: gitea/act_runner:latest
container_name: gitea-runner_1
volumes:
- ./config.yaml:/config.yaml
- ./registration.token:/registration.token
- /var/run/docker.sock:/var/run/docker.sock
environment:
CONFIG_FILE: /config.yaml
GITEA_INSTANCE_URL: https://gitea.jafner.tools
env_file:
- ./secrets.env # Defines GITEA_RUNNER_REGISTRATION_TOKEN