jvb: add env var to control require-valid-address

pull/1726/head
Saúl Ibarra Corretgé 9 months ago
parent b0092bcf65
commit 310b80dedd
  1. 1
      docker-compose.yml
  2. 4
      jvb/rootfs/defaults/jvb.conf

@ -417,6 +417,7 @@ services:
- JVB_OCTO_BIND_ADDRESS
- JVB_OCTO_REGION
- JVB_OCTO_RELAY_ID
- JVB_REQUIRE_VALID_ADDRESS
- JVB_WS_DOMAIN
- JVB_WS_SERVER_ID
- JVB_XMPP_AUTH_DOMAIN

@ -10,6 +10,7 @@
{{ $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_REQUIRE_VALID_ADDRESS := .Env.JVB_REQUIRE_VALID_ADDRESS | default "0" | toBool -}}
{{ $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" -}}
@ -97,6 +98,9 @@ videobridge {
send-server-version = false
}
}
health {
require-valid-address = {{ $JVB_REQUIRE_VALID_ADDRESS }}
}
{{ if $ENABLE_OCTO -}}
relay {

Loading…
Cancel
Save