|
|
|
@ -62,13 +62,7 @@ if [[ ! -f /config/nginx/site-confs/default ]]; then |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if [[ ! -f /config/config.js ]]; then |
|
|
|
|
cp /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 |
|
|
|
|
tpl /defaults/config.js > /config/config.js |
|
|
|
|
|
|
|
|
|
if [[ $ENABLE_RECORDING -eq 1 || x$ENABLE_RECORDING == xtrue ]]; then |
|
|
|
|
sed -i \ |
|
|
|
|