magicciv/.env.example
Natalie d3a63abe90 feat(@projects): add env config files
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-17 12:15:40 -07:00

34 lines
1.8 KiB
Text

# Magic Civilization — environment template.
#
# Copy to `.env.local` and fill in the secret values. `.env.local` is
# gitignored so your secrets stay out of git. The loader in
# `scripts/run/common.sh` cascades:
#
# .env → .env.local → .env.<mode> → .env.<mode>.local
#
# Variables already set in your shell always win over every file.
# Only keys with a SECRET value belong in .env.local; non-secret
# defaults (hostnames, paths) stay in the tracked `.env`.
# ── Forgejo forge ──────────────────────────────────────────────────
# HOST and ORG ship in the tracked `.env`. The runner token is per-host
# and ephemeral — mint via forge UI or `POST /api/v1/orgs/<org>/actions/runners/registration-token`.
FORGEJO_HOST=http://forge.black.local
FORGEJO_ORG=magicciv
FORGEJO_RUNNER_TOKEN= # required for `./run setup:<os> --with-runner`
FORGEJO_RELEASE_TOKEN= # required for `.forgejo/workflows/release.yml` — PAT w/ write:repository
# ── Two-host workflow (edit host → run host) ───────────────────────
# These ship in tracked `.env` — override in .env.local only if your
# dev machine differs from the canonical mapping.
AUTOPLAY_HOST=lilith@apricot.local
PROJECT_ROOT_REMOTE=~/Code/@projects/@magic-civilization
REMOTE_RUNNER=~/bin/run_ap3.sh
SCREENSHOT_HOST=natalie@plum.local
# ── Game runtime flags (read by Godot `EnvConfig` autoload) ────────
# These are tracked in `.env.development` / `.env.production` and
# deployed with the build via `scripts/run/remote.sh`. Override here
# only for per-developer experimentation.
# FORCE_DISABLE_FOGOFWAR=false
# FORCE_UNLIMITED_RESEARCH=false