mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-11-26 01:53:22 +01:00
18 lines
444 B
Bash
Executable File
18 lines
444 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
TARGET=/bbb-webhooks/config/production.yml
|
|
cp /bbb-webhooks/config/default.example.yml $TARGET
|
|
|
|
yq e -i ".bbb.sharedSecret = \"$SHARED_SECRET\"" $TARGET
|
|
yq e -i ".bbb.serverDomain = \"$DOMAIN\"" $TARGET
|
|
yq e -i ".bbb.auth2_0 = true" $TARGET
|
|
yq e -i ".server.bind = \"0.0.0.0\"" $TARGET
|
|
yq e -i ".hooks.getRaw = false" $TARGET
|
|
yq e -i ".redis.host = \"redis\"" $TARGET
|
|
|
|
export NODE_ENV=production
|
|
|
|
cd /bbb-webhooks
|
|
node app.js
|
|
|