refactor(prosody): add WAIT_FOR_HOST_DISABLE_AUTO_OWNERS
This commit is contained in:
@@ -317,6 +317,7 @@ services:
|
|||||||
- VISITORS_XMPP_DOMAIN
|
- VISITORS_XMPP_DOMAIN
|
||||||
- VISITORS_XMPP_SERVER
|
- VISITORS_XMPP_SERVER
|
||||||
- VISITORS_XMPP_PORT
|
- VISITORS_XMPP_PORT
|
||||||
|
- WAIT_FOR_HOST_DISABLE_AUTO_OWNERS
|
||||||
- XMPP_BREAKOUT_MUC_MODULES
|
- XMPP_BREAKOUT_MUC_MODULES
|
||||||
- XMPP_CONFIGURATION
|
- XMPP_CONFIGURATION
|
||||||
- XMPP_DOMAIN
|
- XMPP_DOMAIN
|
||||||
|
|||||||
@@ -42,6 +42,7 @@
|
|||||||
{{ $RATE_LIMIT_LOGIN_RATE := .Env.PROSODY_RATE_LIMIT_LOGIN_RATE | default "3" -}}
|
{{ $RATE_LIMIT_LOGIN_RATE := .Env.PROSODY_RATE_LIMIT_LOGIN_RATE | default "3" -}}
|
||||||
{{ $RATE_LIMIT_SESSION_RATE := .Env.PROSODY_RATE_LIMIT_SESSION_RATE | default "200" -}}
|
{{ $RATE_LIMIT_SESSION_RATE := .Env.PROSODY_RATE_LIMIT_SESSION_RATE | default "200" -}}
|
||||||
{{ $RATE_LIMIT_TIMEOUT := .Env.PROSODY_RATE_LIMIT_TIMEOUT | default "60" -}}
|
{{ $RATE_LIMIT_TIMEOUT := .Env.PROSODY_RATE_LIMIT_TIMEOUT | default "60" -}}
|
||||||
|
{{ $WAIT_FOR_HOST_DISABLE_AUTO_OWNERS := .Env.WAIT_FOR_HOST_DISABLE_AUTO_OWNERS | default "false" | toBool -}}
|
||||||
{{ $XMPP_AUTH_DOMAIN := .Env.XMPP_AUTH_DOMAIN | default "auth.meet.jitsi" -}}
|
{{ $XMPP_AUTH_DOMAIN := .Env.XMPP_AUTH_DOMAIN | default "auth.meet.jitsi" -}}
|
||||||
{{ $XMPP_DOMAIN := .Env.XMPP_DOMAIN | default "meet.jitsi" -}}
|
{{ $XMPP_DOMAIN := .Env.XMPP_DOMAIN | default "meet.jitsi" -}}
|
||||||
{{ $XMPP_GUEST_DOMAIN := .Env.XMPP_GUEST_DOMAIN | default "guest.meet.jitsi" -}}
|
{{ $XMPP_GUEST_DOMAIN := .Env.XMPP_GUEST_DOMAIN | default "guest.meet.jitsi" -}}
|
||||||
@@ -352,7 +353,7 @@ Component "{{ $XMPP_MUC_DOMAIN }}" "muc"
|
|||||||
}
|
}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
-- The size of the cache that saves state for IP addresses
|
-- The size of the cache that saves state for IP addresses
|
||||||
rate_limit_cache_size = {{ $RATE_LIMIT_CACHE_SIZE }};
|
rate_limit_cache_size = {{ $RATE_LIMIT_CACHE_SIZE }};
|
||||||
|
|
||||||
muc_room_cache_size = 10000
|
muc_room_cache_size = 10000
|
||||||
@@ -375,16 +376,20 @@ Component "{{ $XMPP_MUC_DOMAIN }}" "muc"
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
muc_password_whitelist = {
|
muc_password_whitelist = {
|
||||||
"focus@{{ $XMPP_AUTH_DOMAIN }}";
|
"focus@{{ $XMPP_AUTH_DOMAIN }}";
|
||||||
{{- if $ENABLE_RECORDING }}
|
{{- if $ENABLE_RECORDING }}
|
||||||
"{{ $JIBRI_RECORDER_USER }}@{{ $XMPP_HIDDEN_DOMAIN }}";
|
"{{ $JIBRI_RECORDER_USER }}@{{ $XMPP_HIDDEN_DOMAIN }}";
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if $ENABLE_TRANSCRIPTIONS }}
|
{{- if $ENABLE_TRANSCRIPTIONS }}
|
||||||
"{{ $JIGASI_TRANSCRIBER_USER }}@{{ $XMPP_HIDDEN_DOMAIN }}";
|
"{{ $JIGASI_TRANSCRIBER_USER }}@{{ $XMPP_HIDDEN_DOMAIN }}";
|
||||||
{{- end }}
|
{{- end }}
|
||||||
}
|
}
|
||||||
muc_tombstones = false
|
muc_tombstones = false
|
||||||
muc_room_allow_persistent = false
|
muc_room_allow_persistent = false
|
||||||
|
|
||||||
|
{{- if $WAIT_FOR_HOST_DISABLE_AUTO_OWNERS }}
|
||||||
|
wait_for_host_disable_auto_owners = true
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
Component "focus.{{ $XMPP_DOMAIN }}" "client_proxy"
|
Component "focus.{{ $XMPP_DOMAIN }}" "client_proxy"
|
||||||
target_address = "focus@{{ $XMPP_AUTH_DOMAIN }}"
|
target_address = "focus@{{ $XMPP_AUTH_DOMAIN }}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user