mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-11-26 18:13:21 +01:00
20 lines
562 B
Bash
Executable File
20 lines
562 B
Bash
Executable File
#!/bin/sh
|
|
|
|
cd /app
|
|
export ROOT_URL=http://127.0.0.1/html5client
|
|
export MONGO_URL=mongodb://10.7.7.6/meteor
|
|
export NODE_ENV=production
|
|
export ENVIRONMENT_TYPE=production
|
|
export PORT=3000
|
|
export LANG=en_US.UTF-8
|
|
|
|
if [ "$DEV_MODE" == true ]; then
|
|
echo "DEV_MODE=true, disable TLS certificate rejecting"
|
|
export NODE_TLS_REJECT_UNAUTHORIZED=0
|
|
fi
|
|
|
|
rm -f /app/programs/server/assets/app/config/settings.yml
|
|
dockerize \
|
|
-template /app/programs/server/assets/app/config/settings.yml.tmpl:/app/programs/server/assets/app/config/settings.yml \
|
|
node main.js
|