Skip to content

Commit

Permalink
jvb: add env var to control require-valid-address
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Jan 30, 2024
1 parent b0092bc commit 310b80d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions jvb/rootfs/defaults/jvb.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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" -}}
Expand Down Expand Up @@ -97,6 +98,9 @@ videobridge {
send-server-version = false
}
}
health {
require-valid-address = {{ $JVB_REQUIRE_VALID_ADDRESS }}
}

{{ if $ENABLE_OCTO -}}
relay {
Expand Down

0 comments on commit 310b80d

Please sign in to comment.