30 lines
1.8 KiB
Text
30 lines
1.8 KiB
Text
|
|
# Dragon Wind — Environment Configuration
|
||
|
|
# Copy this file to .env and fill in your values.
|
||
|
|
|
||
|
|
# ── Web App ──────────────────────────────────────────────────
|
||
|
|
WEB_PORT=3000 # Port the web UI listens on
|
||
|
|
AUTH_USER=Admin # Default admin username
|
||
|
|
AUTH_PASS=DragonWind2026! # Change this before going to production!
|
||
|
|
|
||
|
|
# ── S3 Storage ───────────────────────────────────────────────
|
||
|
|
# These can also be configured via Admin → S3 Settings in the web UI.
|
||
|
|
# Values set here are loaded at first boot; changes via UI override them.
|
||
|
|
S3_ENDPOINT=https://s3.example.com # or https://minio.yourhost.com:9000
|
||
|
|
S3_REGION=us-east-1
|
||
|
|
S3_BUCKET=uploads
|
||
|
|
S3_ACCESS_KEY=your-access-key-id
|
||
|
|
S3_SECRET_KEY=your-secret-access-key
|
||
|
|
|
||
|
|
# ── UDP Relay ─────────────────────────────────────────────────
|
||
|
|
# These can also be configured via Admin → UDP Relay in the web UI.
|
||
|
|
RELAY_URL=http://udp-relay:3001 # Internal Docker URL (auto-set in compose)
|
||
|
|
# RELAY_URL=https://relay.yourdomain.com # Use this if relay is external
|
||
|
|
RELAY_TCP_PORT=3001 # Host port for relay control API
|
||
|
|
RELAY_UDP_PORT=5000 # Host port for UDP data — MUST be port-forwarded!
|
||
|
|
UDP_PORT=5000
|
||
|
|
MAX_RELAY_SESSIONS=50
|
||
|
|
|
||
|
|
# ── AMPP Integration (optional) ──────────────────────────────
|
||
|
|
AMPP_BASE_URL=https://us-east-1.gvampp.com
|
||
|
|
AMPP_API_KEY= # Base64 encoded client_id:client_secret
|