42 lines
1.4 KiB
Plaintext
42 lines
1.4 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
|
|
|
|
# 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
|
|
|
|
# Federation (inter-instance meeting invitations)
|
|
# Set both values to enable federation between Redlight instances
|
|
# FEDERATION_DOMAIN=redlight.example.com
|
|
# RSA Private Key for signing outbound invitations (automatically generated if missing on startup)
|
|
# FEDERATION_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgk...\n-----END PRIVATE KEY-----"
|