Files
redlight/.env.example
Michelle df82316097
All checks were successful
Build & Push Docker Image / build (push) Successful in 6m29s
Build & Push Docker Image / build (release) Successful in 6m29s
feat(federation): update federation configuration comments for clarity and key path details
2026-03-02 23:04:51 +01:00

51 lines
1.7 KiB
Plaintext

# BigBlueButton API Configuration
BBB_URL=https://your-bbb-server.com/bigbluebutton/api/
BBB_SECRET=your-bbb-shared-secret
# Server Configuration
PORT=3001
JWT_SECRET=your-super-secret-jwt-key-change-this
# Database Configuration
# Leave DATABASE_URL empty or unset to use SQLite (default: redlight.db)
# Set a PostgreSQL connection string to use PostgreSQL instead:
# DATABASE_URL=postgres://user:password@localhost:5432/redlight
DATABASE_URL=
POSTGRES_USER=redlight
POSTGRES_PASSWORD=redlight
POSTGRES_DB=redlight
# SQLite file path (only used when DATABASE_URL is not set)
# SQLITE_PATH=./redlight.db
# Dragonfly (Redis-compatible in-memory database) Configuration
REDIS_URL=redis://dragonfly:6379
# Default Admin Account (created on first run)
ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=admin123
# SMTP Configuration (for email verification)
# If not set, registration works without email verification
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USER=noreply@example.com
SMTP_PASS=your-smtp-password
SMTP_FROM=noreply@example.com
# App URL (used for verification links, auto-detected if not set)
# APP_URL=https://your-domain.com
# Reverse Proxy trust depth (express 'trust proxy' setting)
# loopback = trust only 127.0.0.1 / ::1 (default)
# Use a number for proxy hops (e.g. 1), or a specific IP/CIDR.
# TRUST_PROXY=loopback
# Federation (inter-instance meeting invitations)
# Set FEDERATION_DOMAIN to enable federation between Redlight instances
# FEDERATION_DOMAIN=redlight.example.com
# The Ed25519 key pair is auto-generated on first start and stored at ./keys/federation_key.pem
# Override the path with FEDERATION_KEY_PATH if needed
# FEDERATION_KEY_PATH=/app/keys/federation_key.pem