|
|
@ -62,13 +62,7 @@ if [[ ! -f /config/nginx/site-confs/default ]]; then |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [[ ! -f /config/config.js ]]; then |
|
|
|
if [[ ! -f /config/config.js ]]; then |
|
|
|
cp /defaults/config.js /config/config.js |
|
|
|
tpl /defaults/config.js > /config/config.js |
|
|
|
sed -i \ |
|
|
|
|
|
|
|
-e "s#jitsi-meet.example.com#$XMPP_DOMAIN#g" \ |
|
|
|
|
|
|
|
-e "s#bosh:.*#bosh: '/http-bind',#" \ |
|
|
|
|
|
|
|
-e "s#muc:.*#muc: '${XMPP_MUC_DOMAIN}',#" \ |
|
|
|
|
|
|
|
-e "s#// focusUserJid:.*#focusUserJid: '${JICOFO_AUTH_USER}@${XMPP_AUTH_DOMAIN}',#" \ |
|
|
|
|
|
|
|
/config/config.js |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [[ $ENABLE_RECORDING -eq 1 || x$ENABLE_RECORDING == xtrue ]]; then |
|
|
|
if [[ $ENABLE_RECORDING -eq 1 || x$ENABLE_RECORDING == xtrue ]]; then |
|
|
|
sed -i \ |
|
|
|
sed -i \ |
|
|
|