|
|
|
@ -1,4 +1,5 @@ |
|
|
|
|
admins = { "{{ .Env.JICOFO_AUTH_USER }}@{{ .Env.XMPP_AUTH_DOMAIN }}" } |
|
|
|
|
plugin_paths = { "/prosody-plugins-custom" } |
|
|
|
|
|
|
|
|
|
VirtualHost "{{ .Env.XMPP_DOMAIN }}" |
|
|
|
|
{{ if .Env.ENABLE_AUTH }} |
|
|
|
@ -14,6 +15,9 @@ VirtualHost "{{ .Env.XMPP_DOMAIN }}" |
|
|
|
|
"bosh"; |
|
|
|
|
"pubsub"; |
|
|
|
|
"ping"; |
|
|
|
|
{{ if .Env.XMPP_MODULES }} |
|
|
|
|
"{{ join "\";\n\"" (splitList "," .Env.XMPP_MODULES) }}"; |
|
|
|
|
{{ end }} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
c2s_require_encryption = false |
|
|
|
@ -34,12 +38,20 @@ VirtualHost "{{ .Env.XMPP_AUTH_DOMAIN }}" |
|
|
|
|
Component "{{ .Env.XMPP_INTERNAL_MUC_DOMAIN }}" "muc" |
|
|
|
|
modules_enabled = { |
|
|
|
|
"ping"; |
|
|
|
|
{{ if .Env.XMPP_INTERNAL_MUC_MODULES }} |
|
|
|
|
"{{ join "\";\n\"" (splitList "," .Env.XMPP_INTERNAL_MUC_MODULES) }}"; |
|
|
|
|
{{ end }} |
|
|
|
|
} |
|
|
|
|
storage = "internal" |
|
|
|
|
muc_room_cache_size = 1000 |
|
|
|
|
|
|
|
|
|
Component "{{ .Env.XMPP_MUC_DOMAIN }}" "muc" |
|
|
|
|
storage = "internal" |
|
|
|
|
modules_enabled = { |
|
|
|
|
{{ if .Env.XMPP_MUC_MODULES }} |
|
|
|
|
"{{ join "\";\n\"" (splitList "," .Env.XMPP_MUC_MODULES) }}"; |
|
|
|
|
{{ end }} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Component "focus.{{ .Env.XMPP_DOMAIN }}" |
|
|
|
|
component_secret = "{{ .Env.JICOFO_COMPONENT_SECRET }}" |
|
|
|
|