|
|
|
@@ -2,11 +2,18 @@ |
|
|
|
worker_app: synapse.app.{{ matrix_synapse_worker_details.app }} |
|
|
|
worker_name: {{ matrix_synapse_worker_details.name }} |
|
|
|
|
|
|
|
worker_daemonize: false |
|
|
|
worker_log_config: /data/{{ matrix_server_fqn_matrix }}.log.config |
|
|
|
|
|
|
|
{% if matrix_synapse_replication_listener_enabled %} |
|
|
|
worker_replication_host: matrix-synapse |
|
|
|
worker_replication_http_port: {{ matrix_synapse_replication_http_port }} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% if matrix_synapse_worker_details.type == 'generic_worker' %} |
|
|
|
worker_main_http_uri: http://matrix-synapse:{{ matrix_synapse_container_client_api_port }} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% set http_resources = [] %} |
|
|
|
|
|
|
|
{% if matrix_synapse_worker_details.type == 'user_dir' %} |
|
|
|
@@ -55,10 +62,3 @@ worker_listeners: |
|
|
|
- names: {{ replication_http_resources|to_json }} |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% if matrix_synapse_worker_details.type == 'generic_worker' %} |
|
|
|
worker_main_http_uri: http://matrix-synapse:{{ matrix_synapse_container_client_api_port }} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
worker_daemonize: false |
|
|
|
worker_log_config: /data/{{ matrix_server_fqn_matrix }}.log.config |