jicofo: add optional XMPP_PORT value (#1275)

* jicofo: add optional XMPP_PORT value

* include compose and env example for XMPP_PORT

* extends use of the XMPP_PORT property

* fix compose to use default

* re-commenting XMPP_PORT value

* include XMPP_PORT in compose for all services

* always use $XMPP_PORT, value defaulted in template

* missing JVB setting
This commit is contained in:
Aaron van Meerten
2022-05-02 08:30:48 -05:00
committed by GitHub
parent da0a43a306
commit 95af77896d
9 changed files with 23 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
{{ $JIBRI_USAGE_TIMEOUT := .Env.JIBRI_USAGE_TIMEOUT | default "0" -}}
{{ $JIBRI_RECORDING_RESOLUTION := .Env.JIBRI_RECORDING_RESOLUTION | default "1280x720" -}}
{{ $XMPP_TRUST_ALL_CERTS := .Env.XMPP_TRUST_ALL_CERTS | default "true" | toBool -}}
{{ $XMPP_PORT := .Env.XMPP_PORT | default "5222" -}}
jibri {
// A unique identifier for this Jibri
@@ -48,6 +49,7 @@ jibri {
// The login information for the control MUC
control-login {
domain = "{{ .Env.XMPP_AUTH_DOMAIN }}"
port = "{{ $XMPP_PORT }}"
username = "{{ .Env.JIBRI_XMPP_USER }}"
password = "{{ .Env.JIBRI_XMPP_PASSWORD }}"
}