DragonWind/.env.example
Zac Gaetano 641701edf8 feat: Dragon Wind v1.0 — dual-mode broadcast uploader
- Full VPM Uploader feature set (auth, users, folders, AMPP monitor)
- HTTP upload via presigned S3 URLs with XHR progress tracking
- UDP upload mode with relay server (WebRTC DataChannel + HTTP fallback)
- S3 Admin settings with live Test Connection (upload+delete verify)
- UDP Relay Admin settings with health check
- Standalone UDP relay server (Node.js + Docker) with multipart S3 assembly
- Chrome Extension (Manifest v3): popup, background, content script
- Dynamic S3 client — reconfigures on save without restart
- Dark/light theme, full AMPP job monitor
- docker-compose.yml with dragon-wind + udp-relay services

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

29 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