Files
forgerunner/.env.example
T

31 lines
1.7 KiB
Bash
Raw Normal View History

2026-06-29 21:56:12 -05:00
# custom-gitea-runner environment template
# Copy this file to .env and fill in real values.
# Never commit .env to version control.
# ─── Required for bootstrap registration (Mode B) ────────────────────────────
GITEA_INSTANCE_URL=https://git.example.com
GITEA_RUNNER_TOKEN=your-registration-token-here
GITEA_RUNNER_NAME=unraid-runner-01
# ─── Optional registration settings ─────────────────────────────────────────
# Comma-separated label list. Each label maps a GitHub Actions runner label
# to an act_runner execution environment.
# Format: <label>:<scheme>://<image>
# For host-based execution (no inner container): label:host
GITEA_RUNNER_LABELS=ubuntu-latest:docker://node:20-bullseye,host:host
# ─── Runner runtime ───────────────────────────────────────────────────────────
# Path inside the container where the runner config YAML lives.
RUNNER_CONFIG_PATH=/config/runner.yaml
# Working directory for job runs inside the container.
RUNNER_WORKDIR=/work
# ─── Optional: Timezone ───────────────────────────────────────────────────────
TZ=America/Chicago
# ─── Optional: Registry credentials (used by workflows, not the runner itself)
# These are typically set as Gitea secrets in your repository, not here.
# REGISTRY_USER=your-registry-user
# REGISTRY_TOKEN=your-registry-token