Files
redlight/.env.example
Michelle 8be973a166
Some checks failed
Build & Push Docker Image / build (push) Has been cancelled
Add mail verification and use .env insteads of environment in compose
2026-02-24 20:35:08 +01:00

36 lines
1.0 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