Configure the Greenlight .env File for BigBlueButton
Greenlight is the default front-end web application for BigBlueButton. Its configuration is managed through an .env file in the Greenlight directory.
Key .env Settings
# BigBlueButton server URL and secret
BIGBLUEBUTTON_ENDPOINT=https://bbb.example.com/bigbluebutton/api/
BIGBLUEBUTTON_SECRET=your_bbb_secret_key
# Database (PostgreSQL)
DB_ADAPTER=postgresql
DB_HOST=db
DB_NAME=greenlight_production
DB_USERNAME=postgres
DB_PASSWORD=your_db_password
# Application secret key
SECRET_KEY_BASE=your_secret_key_base
# SMTP for email
SMTP_SERVER=smtp.example.com
SMTP_PORT=587
SMTP_DOMAIN=example.com
SMTP_USERNAME=your_smtp_user
SMTP_PASSWORD=your_smtp_password
Apply Changes
cd ~/greenlight
docker-compose down
docker-compose up -d
Verify
docker-compose logs -f app
Check that the app starts without errors and the Greenlight web interface loads at your BBB domain.
Notes
- Get your BBB secret with:
bbb-conf --secreton the BBB server. - Generate a random SECRET_KEY_BASE:
openssl rand -hex 64.