29 lines
980 B
Bash
29 lines
980 B
Bash
# Fastify + Socket.IO use one application port.
|
|
HOST=127.0.0.1
|
|
PORT=2100
|
|
|
|
# Only trust the local reverse proxy. Leave empty for direct connections.
|
|
TRUST_PROXY=loopback
|
|
LOG_LEVEL=info
|
|
|
|
# Set credentials/authSource for your private MongoDB deployment.
|
|
MONGODB_URI=mongodb://127.0.0.1:27017/?directConnection=true
|
|
|
|
# Use a NEW database to start with empty users and records; no old data is deleted.
|
|
MONGODB_DATABASE=dragon_ball_production
|
|
|
|
# Set a dedicated test endpoint before database integration tests.
|
|
# Tests must use a separate, isolated database and never reuse the application database.
|
|
TEST_MONGODB_URI=
|
|
|
|
# Set BOTH to enable /admin/analytics. Keep real credentials in your private .env.
|
|
# Use HTTPS for the deployed administrator page and API.
|
|
ADMIN_USER=
|
|
ADMIN_PASSWORD=
|
|
|
|
# WebRTC: comma-separated ICE URLs. Use HTTPS outside localhost.
|
|
# TURN uses coturn-compatible expiring HMAC credentials; never expose this secret to Vite.
|
|
STUN_URLS=
|
|
TURN_URLS=
|
|
TURN_SHARED_SECRET=
|