jicofo: configure trusted-domains for Jibri if ENABLE_RECORDING is set

pull/1176/head
Ben Banfield-Zanin 3 years ago committed by Saúl Ibarra Corretgé
parent d250ad7f57
commit a8a596bd6f
  1. 1
      docker-compose.yml
  2. 3
      jicofo/rootfs/defaults/jicofo.conf

@ -246,6 +246,7 @@ services:
- XMPP_AUTH_DOMAIN - XMPP_AUTH_DOMAIN
- XMPP_INTERNAL_MUC_DOMAIN - XMPP_INTERNAL_MUC_DOMAIN
- XMPP_MUC_DOMAIN - XMPP_MUC_DOMAIN
- XMPP_RECORDER_DOMAIN
- XMPP_SERVER - XMPP_SERVER
depends_on: depends_on:
- prosody - prosody

@ -141,6 +141,9 @@ jicofo {
client-proxy = "focus.{{ .Env.XMPP_DOMAIN }}" client-proxy = "focus.{{ .Env.XMPP_DOMAIN }}"
disable-certificate-verification = true disable-certificate-verification = true
} }
{{ if $ENABLE_RECORDING }}
trusted-domains = [ "{{ .Env.XMPP_RECORDER_DOMAIN }}" ]
{{ end }}
} }
{{ if .Env.JICOFO_RESERVATION_ENABLED | default "false" | toBool }} {{ if .Env.JICOFO_RESERVATION_ENABLED | default "false" | toBool }}

Loading…
Cancel
Save