Skip to content

Commit a8a596b

Browse files
benbzsaghul
authored andcommitted
jicofo: configure trusted-domains for Jibri if ENABLE_RECORDING is set
1 parent d250ad7 commit a8a596b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ services:
246246
- XMPP_AUTH_DOMAIN
247247
- XMPP_INTERNAL_MUC_DOMAIN
248248
- XMPP_MUC_DOMAIN
249+
- XMPP_RECORDER_DOMAIN
249250
- XMPP_SERVER
250251
depends_on:
251252
- prosody

jicofo/rootfs/defaults/jicofo.conf

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jicofo {
122122
// two MUST be in sync (otherwise bridges will crash because they won't know how to
123123
// deal with octo channels).
124124
enabled = {{ $ENABLE_OCTO }}
125-
125+
126126
id = "{{ .Env.JICOFO_SHORT_ID | default "1" }}"
127127
}
128128

@@ -136,11 +136,14 @@ jicofo {
136136
hostname = "{{ .Env.XMPP_SERVER }}"
137137
domain = "{{ .Env.XMPP_AUTH_DOMAIN }}"
138138
username = "{{ .Env.JICOFO_AUTH_USER }}"
139-
password = "{{ .Env.JICOFO_AUTH_PASSWORD }}"
139+
password = "{{ .Env.JICOFO_AUTH_PASSWORD }}"
140140
conference-muc-jid = "{{ .Env.XMPP_MUC_DOMAIN }}"
141141
client-proxy = "focus.{{ .Env.XMPP_DOMAIN }}"
142142
disable-certificate-verification = true
143143
}
144+
{{ if $ENABLE_RECORDING }}
145+
trusted-domains = [ "{{ .Env.XMPP_RECORDER_DOMAIN }}" ]
146+
{{ end }}
144147
}
145148

146149
{{ if .Env.JICOFO_RESERVATION_ENABLED | default "false" | toBool }}

0 commit comments

Comments
 (0)