|
|
|
@ -1,6 +1,7 @@ |
|
|
|
|
{{ $COLIBRI_REST_ENABLED := .Env.COLIBRI_REST_ENABLED | default "false" | toBool -}} |
|
|
|
|
{{ $ENABLE_COLIBRI_WEBSOCKET := .Env.ENABLE_COLIBRI_WEBSOCKET | default "1" | toBool -}} |
|
|
|
|
{{ $ENABLE_OCTO := .Env.ENABLE_OCTO | default "0" | toBool -}} |
|
|
|
|
{{ $ENABLE_JVB_XMPP_SERVER := Env.ENABLE_JVB_XMPP_SERVER | default "0" | toBool }} |
|
|
|
|
{{ $JVB_DISABLE_STUN := .Env.JVB_DISABLE_STUN | default "0" | toBool -}} |
|
|
|
|
{{ $JVB_STUN_SERVERS := .Env.JVB_STUN_SERVERS | default "meet-jit-si-turnrelay.jitsi.net:443" -}} |
|
|
|
|
{{ $JVB_AUTH_USER := .Env.JVB_AUTH_USER | default "jvb" -}} |
|
|
|
@ -9,6 +10,11 @@ |
|
|
|
|
{{ $JVB_ADVERTISE_PRIVATE_CANDIDATES := .Env.JVB_ADVERTISE_PRIVATE_CANDIDATES | default "true" | toBool -}} |
|
|
|
|
{{ $JVB_ADVERTISE_IPS := .Env.JVB_ADVERTISE_IPS | default "" -}} |
|
|
|
|
{{ $JVB_IPS := splitList "," $JVB_ADVERTISE_IPS -}} |
|
|
|
|
{{ $JVB_XMPP_AUTH_DOMAIN := .Env.JVB_XMPP_AUTH_DOMAIN | default "auth.jvb.meet.jitsi" -}} |
|
|
|
|
{{ $JVB_XMPP_INTERNAL_MUC_DOMAIN := .Env.JVB_XMPP_INTERNAL_MUC_DOMAIN | default "muc.jvb.meet.jitsi" -}} |
|
|
|
|
{{ $JVB_XMPP_PORT := .Env.JVB_XMPP_PORT | default "6222" -}} |
|
|
|
|
{{ $JVB_XMPP_SERVER := .Env.JVB_XMPP_SERVER | default "xmpp.jvb.meet.jitsi" -}} |
|
|
|
|
{{ $JVB_XMPP_SERVERS := splitList "," $JVB_XMPP_SERVER -}} |
|
|
|
|
{{ $PUBLIC_URL_DOMAIN := .Env.PUBLIC_URL | default "https://localhost:8443" | trimPrefix "https://" | trimSuffix "/" -}} |
|
|
|
|
{{ $SHUTDOWN_REST_ENABLED := .Env.SHUTDOWN_REST_ENABLED | default "false" | toBool -}} |
|
|
|
|
{{ $WS_DOMAIN := .Env.JVB_WS_DOMAIN | default $PUBLIC_URL_DOMAIN -}} |
|
|
|
@ -31,6 +37,21 @@ videobridge { |
|
|
|
|
apis { |
|
|
|
|
xmpp-client { |
|
|
|
|
configs { |
|
|
|
|
{{ if $ENABLE_JVB_XMPP_SERVER }} |
|
|
|
|
{{ range $index, $element := $JVB_XMPP_SERVERS -}} |
|
|
|
|
{{ $SERVER := splitn ":" 2 $element }} |
|
|
|
|
shard{{ $index }} { |
|
|
|
|
HOSTNAME = "{{ $SERVER._0 }}" |
|
|
|
|
PORT = "{{ $SERVER._1 | default $JVB_XMPP_PORT }}" |
|
|
|
|
DOMAIN = "{{ $JVB_XMPP_AUTH_DOMAIN }}" |
|
|
|
|
USERNAME = "{{ $JVB_AUTH_USER }}" |
|
|
|
|
PASSWORD = "{{ $ENV.JVB_AUTH_PASSWORD }}" |
|
|
|
|
MUC_JIDS = "{{ $JVB_BREWERY_MUC }}@{{ $JVB_XMPP_INTERNAL_MUC_DOMAIN }}" |
|
|
|
|
MUC_NICKNAME = "{{ $JVB_MUC_NICKNAME }}" |
|
|
|
|
DISABLE_CERTIFICATE_VERIFICATION = true |
|
|
|
|
} |
|
|
|
|
{{ end -}} |
|
|
|
|
{{ else }} |
|
|
|
|
{{ range $index, $element := $XMPP_SERVERS -}} |
|
|
|
|
{{ $SERVER := splitn ":" 2 $element }} |
|
|
|
|
shard{{ $index }} { |
|
|
|
@ -44,6 +65,7 @@ videobridge { |
|
|
|
|
DISABLE_CERTIFICATE_VERIFICATION = true |
|
|
|
|
} |
|
|
|
|
{{ end -}} |
|
|
|
|
{{ end }} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
rest { |
|
|
|
|