mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-17 20:54:57 +00:00
split if statements for the message queue and experimental encryption support into seperate statements
This commit is contained in:
parent
4c13be1c89
commit
69f947782d
@ -107,11 +107,13 @@ metrics:
|
||||
# (Optional) Prometheus metrics support
|
||||
#
|
||||
enabled: {{ matrix_hookshot_metrics_enabled | to_json }}
|
||||
{% if matrix_hookshot_experimental_encryption_enabled %}
|
||||
{% if matrix_hookshot_queue_host is defined and matrix_hookshot_queue_host|d('')|length > 0 %} %}
|
||||
queue:
|
||||
monolithic: true
|
||||
port: 6379
|
||||
host: matrix-redis
|
||||
port: {{ matrix_hookshot_queue_port | default('6379') }}
|
||||
host: {{ matrix_hookshot_queue_host }}
|
||||
{& endif %}
|
||||
{% if matrix_hookshot_experimental_encryption_enabled %}
|
||||
experimentalEncryption:
|
||||
storagePath: /data/encryption
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user