fix(jibri,jicofo,jigasi,prosody,web): respect previous XMPP_RECORDER_DOMAIN value if set (#1966)
This commit is contained in:
committed by
GitHub
parent
2d9c3cc824
commit
d3db3a5a89
@@ -174,6 +174,7 @@ services:
|
|||||||
- XMPP_MUC_DOMAIN
|
- XMPP_MUC_DOMAIN
|
||||||
- XMPP_HIDDEN_DOMAIN
|
- XMPP_HIDDEN_DOMAIN
|
||||||
- XMPP_PORT
|
- XMPP_PORT
|
||||||
|
- XMPP_RECORDER_DOMAIN
|
||||||
- WHITEBOARD_COLLAB_SERVER_PUBLIC_URL
|
- WHITEBOARD_COLLAB_SERVER_PUBLIC_URL
|
||||||
- WHITEBOARD_COLLAB_SERVER_URL_BASE
|
- WHITEBOARD_COLLAB_SERVER_URL_BASE
|
||||||
networks:
|
networks:
|
||||||
@@ -319,6 +320,7 @@ services:
|
|||||||
- XMPP_INTERNAL_MUC_MODULES
|
- XMPP_INTERNAL_MUC_MODULES
|
||||||
- XMPP_HIDDEN_DOMAIN
|
- XMPP_HIDDEN_DOMAIN
|
||||||
- XMPP_PORT
|
- XMPP_PORT
|
||||||
|
- XMPP_RECORDER_DOMAIN
|
||||||
- XMPP_SERVER_S2S_PORT
|
- XMPP_SERVER_S2S_PORT
|
||||||
- XMPP_SPEAKERSTATS_MODULES
|
- XMPP_SPEAKERSTATS_MODULES
|
||||||
networks:
|
networks:
|
||||||
@@ -406,6 +408,7 @@ services:
|
|||||||
- XMPP_HIDDEN_DOMAIN
|
- XMPP_HIDDEN_DOMAIN
|
||||||
- XMPP_SERVER
|
- XMPP_SERVER
|
||||||
- XMPP_PORT
|
- XMPP_PORT
|
||||||
|
- XMPP_RECORDER_DOMAIN
|
||||||
- MAX_SSRCS_PER_USER
|
- MAX_SSRCS_PER_USER
|
||||||
- MAX_SSRC_GROUPS_PER_USER
|
- MAX_SSRC_GROUPS_PER_USER
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ services:
|
|||||||
- XMPP_HIDDEN_DOMAIN
|
- XMPP_HIDDEN_DOMAIN
|
||||||
- XMPP_SERVER
|
- XMPP_SERVER
|
||||||
- XMPP_PORT
|
- XMPP_PORT
|
||||||
|
- XMPP_RECORDER_DOMAIN
|
||||||
- XMPP_TRUST_ALL_CERTS
|
- XMPP_TRUST_ALL_CERTS
|
||||||
depends_on:
|
depends_on:
|
||||||
- jicofo
|
- jicofo
|
||||||
|
|||||||
@@ -73,6 +73,9 @@ else
|
|||||||
echo "No AUTOSCALER_URL defined, leaving autoscaler sidecar disabled"
|
echo "No AUTOSCALER_URL defined, leaving autoscaler sidecar disabled"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# maintain backward compatibility with older variable
|
||||||
|
[ -z "${XMPP_HIDDEN_DOMAIN}" ] && export XMPP_HIDDEN_DOMAIN="$XMPP_RECORDER_DOMAIN"
|
||||||
|
|
||||||
# always recreate configs
|
# always recreate configs
|
||||||
tpl /defaults/jibri.conf > /etc/jitsi/jibri/jibri.conf
|
tpl /defaults/jibri.conf > /etc/jitsi/jibri/jibri.conf
|
||||||
tpl /defaults/xmpp.conf > /etc/jitsi/jibri/xmpp.conf
|
tpl /defaults/xmpp.conf > /etc/jitsi/jibri/xmpp.conf
|
||||||
|
|||||||
@@ -13,6 +13,9 @@ if [[ "$JICOFO_AUTH_PASSWORD" == "$OLD_JICOFO_AUTH_PASSWORD" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# maintain backward compatibility with older variable
|
||||||
|
[ -z "${XMPP_HIDDEN_DOMAIN}" ] && export XMPP_HIDDEN_DOMAIN="$XMPP_RECORDER_DOMAIN"
|
||||||
|
|
||||||
tpl /defaults/logging.properties > /config/logging.properties
|
tpl /defaults/logging.properties > /config/logging.properties
|
||||||
tpl /defaults/jicofo.conf > /config/jicofo.conf
|
tpl /defaults/jicofo.conf > /config/jicofo.conf
|
||||||
|
|
||||||
|
|||||||
@@ -53,6 +53,9 @@ else
|
|||||||
echo "No AUTOSCALER_URL defined, leaving autoscaler sidecar disabled"
|
echo "No AUTOSCALER_URL defined, leaving autoscaler sidecar disabled"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# maintain backward compatibility with older variable
|
||||||
|
[ -z "${XMPP_HIDDEN_DOMAIN}" ] && export XMPP_HIDDEN_DOMAIN="$XMPP_RECORDER_DOMAIN"
|
||||||
|
|
||||||
tpl /defaults/logging.properties > /config/logging.properties
|
tpl /defaults/logging.properties > /config/logging.properties
|
||||||
tpl /defaults/sip-communicator.properties > /config/sip-communicator.properties
|
tpl /defaults/sip-communicator.properties > /config/sip-communicator.properties
|
||||||
tpl /defaults/xmpp-sip-communicator.properties >> /config/sip-communicator.properties
|
tpl /defaults/xmpp-sip-communicator.properties >> /config/sip-communicator.properties
|
||||||
|
|||||||
@@ -77,6 +77,8 @@ fi
|
|||||||
[ -z "${JVB_AUTH_USER}" ] && export JVB_AUTH_USER=jvb
|
[ -z "${JVB_AUTH_USER}" ] && export JVB_AUTH_USER=jvb
|
||||||
[ -z "${XMPP_DOMAIN}" ] && export XMPP_DOMAIN=meet.jitsi
|
[ -z "${XMPP_DOMAIN}" ] && export XMPP_DOMAIN=meet.jitsi
|
||||||
[ -z "${XMPP_AUTH_DOMAIN}" ] && export XMPP_AUTH_DOMAIN=auth.meet.jitsi
|
[ -z "${XMPP_AUTH_DOMAIN}" ] && export XMPP_AUTH_DOMAIN=auth.meet.jitsi
|
||||||
|
# maintain backward compatibility with older variable
|
||||||
|
[ -z "${XMPP_HIDDEN_DOMAIN}" ] && export XMPP_HIDDEN_DOMAIN="$XMPP_RECORDER_DOMAIN"
|
||||||
[ -z "${XMPP_HIDDEN_DOMAIN}" ] && export XMPP_HIDDEN_DOMAIN=hidden.meet.jitsi
|
[ -z "${XMPP_HIDDEN_DOMAIN}" ] && export XMPP_HIDDEN_DOMAIN=hidden.meet.jitsi
|
||||||
|
|
||||||
prosodyctl --config $PROSODY_CFG register focus $XMPP_AUTH_DOMAIN $JICOFO_AUTH_PASSWORD
|
prosodyctl --config $PROSODY_CFG register focus $XMPP_AUTH_DOMAIN $JICOFO_AUTH_PASSWORD
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ services:
|
|||||||
- XMPP_SERVER
|
- XMPP_SERVER
|
||||||
- XMPP_PORT
|
- XMPP_PORT
|
||||||
- XMPP_HIDDEN_DOMAIN
|
- XMPP_HIDDEN_DOMAIN
|
||||||
|
- XMPP_RECORDER_DOMAIN
|
||||||
- XMPP_DOMAIN
|
- XMPP_DOMAIN
|
||||||
- PUBLIC_URL
|
- PUBLIC_URL
|
||||||
- JIGASI_CONFIGURATION
|
- JIGASI_CONFIGURATION
|
||||||
|
|||||||
@@ -107,6 +107,9 @@ if [ -z "$COLIBRI_WEBSOCKET_REGEX" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# maintain backward compatibility with older variable
|
||||||
|
[ -z "${XMPP_HIDDEN_DOMAIN}" ] && export XMPP_HIDDEN_DOMAIN="$XMPP_RECORDER_DOMAIN"
|
||||||
|
|
||||||
# copy config files
|
# copy config files
|
||||||
tpl /defaults/nginx.conf > /config/nginx/nginx.conf
|
tpl /defaults/nginx.conf > /config/nginx/nginx.conf
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user