3
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2026-04-12 03:45:38 +00:00

allow synapse to use redis unix socket instead of tcp

This commit is contained in:
Aine
2026-03-08 07:24:33 +00:00
parent 86bb61aba0
commit 0c40a03efc
5 changed files with 22 additions and 2 deletions

View File

@@ -2932,6 +2932,11 @@ redis:
host: {{ matrix_synapse_redis_host | to_json }}
port: {{ matrix_synapse_redis_port | to_json }}
# The full path to a local Unix socket file. If this is used, host and port are ignored.
{% if matrix_synapse_redis_path_enabled %}
path: {{ matrix_synapse_redis_path | to_json }}
{% endif %}
# Optional database ID to connect to. Defaults to 0.
dbid: {{ matrix_synapse_redis_dbid | to_json }}