mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-07 16:12:43 +00:00
Add worker_name to synapse worker config template
& restrict federation listener; frontend_proxy / user_dir don't need it
This commit is contained in:
parent
36e9be6092
commit
d2e61af224
|
@ -1,5 +1,6 @@
|
|||
#jinja2: lstrip_blocks: "True"
|
||||
worker_app: synapse.app.{{ item.worker }}
|
||||
worker_name: {{ item.worker ~ '_' ~ item.port }}
|
||||
|
||||
worker_replication_host: 127.0.0.1
|
||||
worker_replication_http_port: {{ matrix_synapse_replication_http_port }}
|
||||
|
@ -12,6 +13,8 @@ worker_listeners:
|
|||
- names:
|
||||
{% if item.worker in [ 'generic_worker', 'frontend_proxy', 'user_dir' ] %}
|
||||
- client
|
||||
{% endif %}
|
||||
{% if item.worker in [ 'generic_worker' ] %}
|
||||
- federation
|
||||
{% elif item.worker in [ 'media_repository' ] %}
|
||||
- media
|
||||
|
|
Loading…
Reference in New Issue
Block a user