File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
jvb/rootfs/etc/cont-init.d Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 77{{ $ENABLE_SCTP := .Env.ENABLE_SCTP | default "0" | toBool -}}
88{{ $ENABLE_RECORDING := .Env.ENABLE_RECORDING | default "0" | toBool -}}
99{{ $ENABLE_OCTO := .Env.ENABLE_OCTO | default "0" | toBool -}}
10- {{ $ENABLE_OCTO_SCTP := .Env.ENABLE_OCTO_SCTP | default (.Env. ENABLE_SCTP | default "0") | toBool -}}
10+ {{ $ENABLE_OCTO_SCTP := .Env.ENABLE_OCTO_SCTP | default $ ENABLE_SCTP | toBool -}}
1111{{ $ENABLE_AUTO_LOGIN := .Env.ENABLE_AUTO_LOGIN | default "1" | toBool -}}
1212{{ $ENABLE_REST := .Env.JICOFO_ENABLE_REST | default "0" | toBool -}}
1313{{ $ENABLE_JVB_XMPP_SERVER := .Env.ENABLE_JVB_XMPP_SERVER | default "0" | toBool -}}
@@ -288,8 +288,8 @@ jicofo {
288288 disable-certificate-verification = true
289289 }
290290 {{ end }}
291-
291+
292292 trusted-domains = [ {{ range $index, $element := $TRUSTED_DOMAINS }}{{ if gt $index 0 }},{{ end }}"{{ $element }}"{{ end}} ]
293-
293+
294294 }
295295}
Original file line number Diff line number Diff line change @@ -72,9 +72,3 @@ tpl /defaults/logging.properties > /config/logging.properties
7272tpl /defaults/jvb.conf > /config/jvb.conf
7373
7474chown -R jvb:jitsi /config
75-
76- # Configuration checks
77- if [[ (-z $ENABLE_COLIBRI_WEBSOCKET || $ENABLE_COLIBRI_WEBSOCKET == "0") && $ENABLE_OCTO == "1" ]]; then
78- echo "ERROR: In order to enable Octo relays (with ENABLE_OCTO=1), you MUST enable Colibri websockets (with ENABLE_COLIBRI_WEBSOCKET=1)";
79- exit 1;
80- fi
You can’t perform that action at this time.
0 commit comments