mirror of
https://github.com/famedly/ansible-collection-matrix
synced 2024-11-10 13:44:16 +00:00
chore(synapse): support multiple bind addresses
This commit is contained in:
parent
7572d9af5a
commit
bbea0b5c0a
2 changed files with 7 additions and 3 deletions
|
@ -65,7 +65,12 @@ matrix_synapse_worker_metrics_port: 9101
|
|||
matrix_synapse_workers_enabled: false
|
||||
matrix_synapse_worker_replication_host: "{{ matrix_synapse_container_name }}"
|
||||
matrix_synapse_worker_replication_port: 9003
|
||||
matrix_synapse_worker_replication_bind_ip: "127.0.0.1"
|
||||
matrix_synapse_worker_replication_bind_addresses: >-2
|
||||
{{
|
||||
[matrix_synapse_worker_replication_bind_ip]
|
||||
if matrix_synapse_worker_replication_bind_ip is defined
|
||||
else ["::1", "127.0.0.1"]
|
||||
}}
|
||||
matrix_synapse_worker_listener_base_port: 16000
|
||||
matrix_synapse_worker_listener_bind_base_ip: "0.0.0.0"
|
||||
matrix_synapse_worker_labels: {}
|
||||
|
|
|
@ -21,8 +21,7 @@ matrix_synapse_worker_metrics_listener:
|
|||
matrix_synapse_worker_config:
|
||||
listeners:
|
||||
- port: "{{ matrix_synapse_worker_replication_port }}"
|
||||
bind_addresses:
|
||||
- "{{ matrix_synapse_worker_replication_bind_ip }}"
|
||||
bind_addresses: "{{ matrix_synapse_worker_replication_bind_addresses }}"
|
||||
type: http
|
||||
resources:
|
||||
- names: [ replication ]
|
||||
|
|
Loading…
Reference in a new issue