|
|
|
@ -1,7 +1,9 @@ |
|
|
|
|
{{ $ENABLE_AUTH := .Env.ENABLE_AUTH | default "0" | toBool -}} |
|
|
|
|
{{ $ENABLE_GUEST_DOMAIN := and $ENABLE_AUTH (.Env.ENABLE_GUESTS | default "0" | toBool) -}} |
|
|
|
|
{{ $ENABLE_RATE_LIMITS := .Env.PROSODY_ENABLE_RATE_LIMITS | default "0" | toBool -}} |
|
|
|
|
{{ $ENABLE_RECORDING := .Env.ENABLE_RECORDING | default "0" | toBool -}} |
|
|
|
|
{{ $ENABLE_SUBDOMAINS := .Env.ENABLE_SUBDOMAINS | default "true" | toBool -}} |
|
|
|
|
{{ $ENABLE_TRANSCRIPTIONS := .Env.ENABLE_TRANSCRIPTIONS | default "0" | toBool -}} |
|
|
|
|
{{ $ENABLE_XMPP_WEBSOCKET := .Env.ENABLE_XMPP_WEBSOCKET | default "1" | toBool -}} |
|
|
|
|
{{ $JIBRI_RECORDER_USER := .Env.JIBRI_RECORDER_USER | default "recorder" -}} |
|
|
|
|
{{ $JIGASI_TRANSCRIBER_USER := .Env.JIGASI_TRANSCRIBER_USER | default "transcriber" -}} |
|
|
|
@ -99,6 +101,9 @@ s2sout_override = { |
|
|
|
|
{{ if $ENABLE_GUEST_DOMAIN -}} |
|
|
|
|
["{{ $XMPP_GUEST_DOMAIN }}"] = "tcp://{{ $XMPP_SERVER }}:{{ $XMPP_SERVER_S2S_PORT }}"; |
|
|
|
|
{{ end -}} |
|
|
|
|
{{ if or $ENABLE_RECORDING $ENABLE_TRANSCRIPTIONS -}} |
|
|
|
|
["{{ $XMPP_RECORDER_DOMAIN }}"] = "tcp://{{ $XMPP_SERVER }}:{{ $XMPP_SERVER_S2S_PORT }}"; |
|
|
|
|
{{ end -}} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
muc_limit_messages_count = 10; |
|
|
|
|