3
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2026-03-25 22:17:25 +00:00

improve synapse redis socket mounting

This commit is contained in:
Aine
2026-03-08 09:56:26 +00:00
parent 45d5ebd008
commit 82caf3a7d3
3 changed files with 11 additions and 7 deletions

View File

@@ -4846,10 +4846,12 @@ matrix_synapse_redis_password: "{{ valkey_connection_password if valkey_enabled
# unix socket connection, disabled by default temporarily until properly tested
matrix_synapse_redis_path_enabled: false
# path to the Redis socket inside the Synapse container, using Synapse's default value
matrix_synapse_redis_path: "{{ '/tmp/redis.sock' if valkey_enabled else '' }}"
# path to the Redis socket's parent dir inside the Synapse container
matrix_synapse_redis_path: "{{ '/tmp/valkey' if valkey_enabled else '' }}"
# redis socket filename
matrix_synapse_redis_path_socket: "{{ '/valkey.sock' if valkey_enabled else '' }}"
# path to the Redis socket on the host, using Valkey
matrix_synapse_redis_path_host: "{{ valkey_run_path+'/valkey.sock' if valkey_enabled else '' }}"
matrix_synapse_redis_path_host: "{{ valkey_run_path if valkey_enabled else '' }}"
matrix_synapse_container_extra_arguments_auto: "{{ matrix_homeserver_container_extra_arguments_auto }}"
matrix_synapse_app_service_config_files_auto: "{{ matrix_homeserver_app_service_config_files_auto }}"