Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ Follow the commands below starting within the `bigbluebutton/bbb-webhooks` direc
- `sudo cp config/default.example.yml config/default.yml`
- Update the `serverDomain` and `sharedSecret` values to match your BBB server configuration:
- `sudo nano config/default.yml`
- If `BBB_URL` and `BBB_SECRET` are set in `/etc/bigbluebutton/bigbluebutton.env`, they take precedence over `serverDomain` (host of `BBB_URL`) and `sharedSecret`.

9. Start the bbb-webhooks service:
- `sudo systemctl bbb-webhooks restart`
Expand Down
1 change: 1 addition & 0 deletions config/default.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ prometheus:
collectDefaultMetrics: false

# Shared secret of your BigBlueButton server.
# BBB_URL (its host) and BBB_SECRET from /etc/bigbluebutton/bigbluebutton.env take precedence over serverDomain and sharedSecret.
bbb:
serverDomain: myserver.com
sharedSecret: mysharedsecret
Expand Down
4 changes: 2 additions & 2 deletions src/modules/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const REDIS_CONF = {
REDIS_CONF.REDIS_URL = `redis://${REDIS_CONF.password ? `:${REDIS_CONF.password}@` : ''}${REDIS_CONF.host}:${REDIS_CONF.port}`;
const BASE_CONFIGURATION = Object.freeze({
server: {
domain: config.get('bbb.serverDomain'),
secret: config.get('bbb.sharedSecret'),
domain: process.env.BBB_URL ? new URL(process.env.BBB_URL).host : config.get('bbb.serverDomain'),
secret: process.env.BBB_SECRET || config.get('bbb.sharedSecret'),
auth2_0: config.get('bbb.auth2_0'),
},
redis: {
Expand Down
Loading