Jafner.net/homelab/stacks/gitea-runner/docker-compose.yml
Joey Hafner 9311a40618
Feature: Init stack.nix for gitea-runner.
- Move secrets.env to registration.token.
  - Rotate key for registration token.
2025-02-01 00:27:21 -08:00

13 lines
394 B
YAML

name: "gitea-runner"
services:
runner:
image: gitea/act_runner:latest
volumes:
- ./config.yaml:/config.yaml
- /var/run/docker.sock:/var/run/docker.sock
environment:
CONFIG_FILE: /config.yaml
GITEA_INSTANCE_URL: https://gitea.jafner.tools
env_file:
- path: /run/secrets/gitea-runner # Defines GITEA_RUNNER_REGISTRATION_TOKEN
required: true