Parcourir la source

fix comments

pull/5018/head
Aine il y a 1 jour
Parent
révision
45d5ebd008
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 34969C908CCA2804
2 fichiers modifiés avec 11 ajouts et 5 suppressions
  1. +6
    -3
      group_vars/matrix_servers
  2. +5
    -2
      roles/custom/matrix-synapse/defaults/main.yml

+ 6
- 3
group_vars/matrix_servers Voir le fichier

@@ -4844,9 +4844,12 @@ matrix_synapse_redis_enabled: "{{ valkey_enabled }}"
matrix_synapse_redis_host: "{{ valkey_identifier if valkey_enabled else '' }}" matrix_synapse_redis_host: "{{ valkey_identifier if valkey_enabled else '' }}"
matrix_synapse_redis_password: "{{ valkey_connection_password if valkey_enabled else '' }}" matrix_synapse_redis_password: "{{ valkey_connection_password if valkey_enabled else '' }}"


matrix_synapse_redis_path_enabled: false # temporarily, then switch to true by default once properly tested
matrix_synapse_redis_path: "{{ '/tmp/redis.sock' if valkey_enabled else '' }}" # default value for Synapse
matrix_synapse_redis_path_host: "{{ valkey_run_path+'/valkey.sock' if valkey_enabled else '' }}" # path on the host
# 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 on the host, using Valkey
matrix_synapse_redis_path_host: "{{ valkey_run_path+'/valkey.sock' if valkey_enabled else '' }}"


matrix_synapse_container_extra_arguments_auto: "{{ matrix_homeserver_container_extra_arguments_auto }}" 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 }}" matrix_synapse_app_service_config_files_auto: "{{ matrix_homeserver_app_service_config_files_auto }}"


+ 5
- 2
roles/custom/matrix-synapse/defaults/main.yml Voir le fichier

@@ -1248,9 +1248,12 @@ matrix_synapse_redis_use_tls: false
matrix_synapse_redis_host: "" matrix_synapse_redis_host: ""
matrix_synapse_redis_port: 6379 matrix_synapse_redis_port: 6379
# Connection option 2: Unix socket (takes precedence over TCP if `matrix_synapse_redis_path` is set) # Connection option 2: Unix socket (takes precedence over TCP if `matrix_synapse_redis_path` is set)
# disabled by default
matrix_synapse_redis_path_enabled: false matrix_synapse_redis_path_enabled: false
matrix_synapse_redis_path: "" # the path to the redis socket inside the container, e.g. "/var/run/redis.sock"
matrix_synapse_redis_path_host: "" # the path to the redis socket on the host, e.g. "/matrix/valkey/run/valkey.sock"
# the path to the redis socket inside the container, Synapse default's is "/tmp/redis.sock"
matrix_synapse_redis_path: ""
# the path to the redis socket on the host, e.g., "/matrix/valkey/run/valkey.sock"
matrix_synapse_redis_path_host: ""


# Controls whether Synapse starts a replication listener necessary for workers. # Controls whether Synapse starts a replication listener necessary for workers.
# #


Chargement…
Annuler
Enregistrer