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

@@ -6,6 +6,7 @@
{{ $SHUTDOWN_REST_ENABLED := .Env.SHUTDOWN_REST_ENABLED | default "false" | toBool }}
{{ $WS_DOMAIN := .Env.JVB_WS_DOMAIN | default $PUBLIC_URL_DOMAIN -}}
{{ $WS_SERVER_ID := .Env.JVB_WS_SERVER_ID | default .Env.JVB_WS_SERVER_ID_FALLBACK -}}
{{ $XMPP_PORT := .Env.XMPP_PORT | default "5222" -}}
videobridge {
ice {
@@ -18,6 +19,7 @@ videobridge {
configs {
shard {
HOSTNAME = "{{ .Env.XMPP_SERVER }}"
PORT = "{{ $XMPP_PORT }}"
DOMAIN = "{{ .Env.XMPP_AUTH_DOMAIN }}"
USERNAME = "{{ .Env.JVB_AUTH_USER }}"
PASSWORD = "{{ .Env.JVB_AUTH_PASSWORD }}"