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

This commit is contained in:
Ben Banfield-Zanin 2021-12-14 09:41:30 +00:00 committed by Saúl Ibarra Corretgé
parent d250ad7f57
commit a8a596bd6f
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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 }}