Skip to content

Commit 7883008

Browse files
authored
feat(jicofo) add Env for Shared document random name
1 parent 18dd015 commit 7883008

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ services:
365365
- ENABLE_OCTO_SCTP
366366
- ENABLE_RECORDING
367367
- ENABLE_SCTP
368+
- ENABLE_SHARED_DOCUMENT_RANDOM_NAME
368369
- ENABLE_TRANSCRIPTIONS
369370
- ENABLE_VISITORS
370371
- ENABLE_AUTO_LOGIN

jicofo/rootfs/defaults/jicofo.conf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
{{ $ENABLE_AUTO_LOGIN := .Env.ENABLE_AUTO_LOGIN | default "1" | toBool -}}
1313
{{ $ENABLE_REST := .Env.JICOFO_ENABLE_REST | default "0" | toBool -}}
1414
{{ $ENABLE_JVB_XMPP_SERVER := .Env.ENABLE_JVB_XMPP_SERVER | default "0" | toBool -}}
15+
{{ $ENABLE_SHARED_DOCUMENT_RANDOM_NAME := .Env.ENABLE_SHARED_DOCUMENT_RANDOM_NAME | default "0" | toBool -}}
1516
{{ $HEALTH_CHECKS_USE_PRESENCE := .Env.JICOFO_HEALTH_CHECKS_USE_PRESENCE | default "0" | toBool -}}
1617
{{ $JIBRI_BREWERY_MUC := .Env.JIBRI_BREWERY_MUC | default "jibribrewery" -}}
1718
{{ $JIGASI_BREWERY_MUC := .Env.JIGASI_BREWERY_MUC | default "jigasibrewery" -}}
@@ -187,6 +188,12 @@ jicofo {
187188
enable-multi-stream-backward-compat = {{ .Env.JICOFO_MULTI_STREAM_BACKWARD_COMPAT | toBool }}
188189
{{ end }}
189190

191+
{{ if $ENABLE_SHARED_DOCUMENT_RANDOM_NAME }}
192+
shared-document {
193+
use-random-name = {{ $ENABLE_SHARED_DOCUMENT_RANDOM_NAME }}
194+
}
195+
{{ end }}
196+
190197
}
191198

192199
{{ if .Env.JICOFO_ENABLE_HEALTH_CHECKS }}

0 commit comments

Comments
 (0)