# Default environment for `make -C tools/local-dev up`. The compose
# file reads these via ${VAR:-} expansions; override per-developer by
# editing this file (it is committed only with the project defaults).

# Host-port mappings for the stack. The compose file reads each as
# ${LOCAL_DEV_*_PORT:-<default>}, so leaving them blank or removing
# the lines below keeps the defaults shown next to each entry. Set
# a non-default value when the default collides with something else
# on the host (a system Postgres, a Prometheus instance on :9090,
# a `crowdsec` sitting on :8080, etc.). The Vite dev server in
# ui/frontend reads the gateway REST address from
# VITE_DEV_PROXY_TARGET — point it at the same port (typically via
# ui/frontend/.env.local).
#LOCAL_DEV_POSTGRES_PORT=5433
#LOCAL_DEV_REDIS_PORT=6380
#LOCAL_DEV_MAILPIT_PORT=8025
LOCAL_DEV_GATEWAY_REST_PORT=18080
LOCAL_DEV_GATEWAY_GRPC_PORT=19090

# Six-digit decimal accepted by ConfirmEmailCode in addition to the
# real bcrypt-verified code. Leave the value blank to disable the
# override and force every login through Mailpit.
BACKEND_AUTH_DEV_FIXED_CODE=123456

# Boot-time dev sandbox (backend/internal/devsandbox). When EMAIL is
# non-empty the backend ensures a real user with that address, the
# configured number of dummy participants, a private "Dev Sandbox"
# game, and drives the lifecycle to running on every boot. Leave
# EMAIL blank to disable the bootstrap entirely.
BACKEND_DEV_SANDBOX_EMAIL=dev@local.test
BACKEND_DEV_SANDBOX_ENGINE_IMAGE=galaxy-engine:local-dev
BACKEND_DEV_SANDBOX_ENGINE_VERSION=0.1.0
BACKEND_DEV_SANDBOX_PLAYER_COUNT=20
