Files
FabledScribe/infra/runner-compose.yml
T
Bryan Van Deusen 6c051fa59d CI: remove redundant GITEA_RUNNER_LABELS from runner-compose.yml
Labels are defined in act-runner-config.yml which is the authoritative
source. The env var is only used on first registration and was being
ignored after .runner was created.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-10 11:12:52 -04:00

25 lines
946 B
YAML

# Forgejo Actions runner — deploy as a standalone Portainer stack.
# The runner connects outbound to Forgejo to receive jobs; no inbound ports needed.
# /var/run/docker.sock is mounted so the build job can run Docker Buildx.
#
# Setup: see the walkthrough at infra/RUNNER_SETUP.md
services:
act_runner:
image: gitea/act_runner:latest
restart: unless-stopped
environment:
- GITEA_INSTANCE_URL=https://git.fabledsword.com
- GITEA_RUNNER_REGISTRATION_TOKEN=${RUNNER_TOKEN}
- GITEA_RUNNER_NAME=swarm-runner
# Maps the runs-on: ubuntu-latest label used in workflow files to a Docker image.
- CONFIG_FILE=/config/config.yml
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- act_runner_data:/data
- /nfs/data/fabledsword/act_runner/config.yml:/config/config.yml:ro
# No network needed — runner only makes outbound HTTPS connections to Forgejo.
volumes:
act_runner_data: