Files
canopy-workloads/gitea_runner/.env-example
T
kiskaadee d534399549 feat(gitea_runner): configure host-mode Nix runner with persistent store
- Add gitea_runner/Dockerfile combining nixos/nix (flakes + nodejs + /bin/sleep) with act_runner binary and entrypoint
- Update gitea_runner/docker-compose.yml to build locally, mount ~/var/lib/homelab/gitea_runner:/data and nix-store:/nix, remove DOCKER_HOST, and use :host runner labels
- Add compose_build to gitea_runner/app.yaml deployment actions
- Document runtime env vars and host-mode architecture in gitea_runner/.env-example and README.md
2026-11-18 22:45:02 -05:00

9 lines
413 B
Plaintext

# Gitea Actions Runner environment variables (injected at runtime; never commit real tokens)
GITEA_INSTANCE_URL=http://gitea:3000
GITEA_RUNNER_TOKEN=replace-with-gitea-runner-registration-token
GITEA_RUNNER_NAME=homelab-runner
GITEA_RUNNER_LABELS=ubuntu-latest:host,nix:host
# Host state root (default: ~/var/lib/homelab; compose mounts ~/var/lib/homelab/gitea_runner:/data)
HOMELAB_STATE_ROOT=~/var/lib/homelab