mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-12-11 09:21:04 +01:00
15 lines
385 B
Bash
Executable File
15 lines
385 B
Bash
Executable File
#!/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 |