mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-12-04 05:54:43 +01:00
15 lines
385 B
Bash
15 lines
385 B
Bash
|
#!/bin/sh
|
||
|
set -e
|
||
|
|
||
|
TARGET=/bbb-pads/config/settings.json
|
||
|
|
||
|
cp /bbb-pads/config/settings.json.template $TARGET
|
||
|
sed -i "s/ETHERPAD_API_KEY/\"$ETHERPAD_API_KEY\"/g" $TARGET
|
||
|
jq '.etherpad.host = "etherpad"' $TARGET | sponge $TARGET
|
||
|
jq '.express.host = "0.0.0.0"' $TARGET | sponge $TARGET
|
||
|
jq '.redis.host = "redis"' $TARGET | sponge $TARGET
|
||
|
|
||
|
|
||
|
cd /bbb-pads
|
||
|
export NODE_ENV=production
|
||
|
npm start
|