DragonWind/.env.example
Zac Gaetano fbec32dcc4 feat: randomized ports via setup.sh + .env on first run
- setup.sh generates .env with random ports (10000-59999) on first run,
  ensuring WEB_PORT, RELAY_TCP_PORT, and RELAY_UDP_PORT are all distinct
- .env.example documents all available env vars with defaults
- docker-compose.yml already reads from .env via ${VAR:-default} syntax
- Run `bash setup.sh` to generate ports, `bash setup.sh --start` to also
  bring up the stack in one step

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-05 20:29:35 -04:00

23 lines
625 B
Text

# Dragon Wind — example .env
# Let setup.sh generate .env automatically (randomized ports), or copy this file:
# cp .env.example .env
# ---- Ports (randomized by setup.sh on first run) ------------
WEB_PORT=3000
RELAY_TCP_PORT=3001
RELAY_UDP_PORT=5000
# ---- Auth ---------------------------------------------------
AUTH_USER=admin
AUTH_PASS=DragonWind2026!
# ---- S3 (can also be configured via Admin UI) ---------------
S3_ENDPOINT=
S3_REGION=us-east-1
S3_BUCKET=
S3_ACCESS_KEY=
S3_SECRET_KEY=
# ---- AMPP (can also be configured via Admin UI) -------------
AMPP_BASE_URL=https://us-east-1.gvampp.com
AMPP_API_KEY=