0cae89cba2
Tests · Go / test (push) Successful in 1m59s
Stage 1 of the dev-as-prod-mirror rework. The auto-provisioned "Dev Sandbox" game and dummy users are removed so the dev contour starts empty like prod; the separate legacy-report loader stays as the test-data path. - delete backend/internal/devsandbox (package + tests) - drop the bootstrap call + DevSandboxConfig (struct, Config field, BACKEND_DEV_SANDBOX_* env, defaults, loader, validation) - strip BACKEND_DEV_SANDBOX_* from dev-deploy + local-dev compose and .env.example; the generic engine-recycle / prune-broken-engines logic stays (it serves real games) - update tooling docs (dev-deploy README + KNOWN-ISSUES, local-dev README + Makefile) and stale comments; DeleteGame and InsertMembershipDirect remain (exercised by lobby integration tests) No app behaviour change beyond not auto-creating the sandbox game.
18 lines
741 B
Bash
18 lines
741 B
Bash
# Defaults for the long-lived dev stack. Copy to `.env` and edit
|
|
# per-environment overrides. Everything in this file is non-secret;
|
|
# real credentials would go through Gitea Actions secrets and never
|
|
# this file.
|
|
#
|
|
# The compose `${VAR:-default}` expansions fall back to the values
|
|
# baked into `docker-compose.yml`, so this file documents the knobs
|
|
# rather than driving them.
|
|
|
|
# `123456` short-circuits the email-code path for the dev account.
|
|
# This is also the docker-compose default — set the variable to an
|
|
# empty string here when the environment must rely on real Mailpit
|
|
# codes (e.g. mail-flow QA).
|
|
BACKEND_AUTH_DEV_FIXED_CODE=123456
|
|
|
|
# Name of the external Docker bridge the host Caddy is attached to.
|
|
GALAXY_EDGE_NETWORK=edge
|