From 0a4cff56fb798af055f2e64e0b9d9737e0c415b4 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Mon, 2 Oct 2023 07:41:57 +0300 Subject: [PATCH] Make sliding-sync communicate with the homeserver over the container network Seems like we don't necessarily need to use a public URL for `SYNCV3_SERVER`. This possibly helps setups that were having trouble when `SYNCV3_SERVER` was a public URL (e.g. `https://matrix.DOMAIN`), as described in: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2912 --- roles/custom/matrix-sliding-sync/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/custom/matrix-sliding-sync/defaults/main.yml b/roles/custom/matrix-sliding-sync/defaults/main.yml index 73e794c25..73afcaf3f 100644 --- a/roles/custom/matrix-sliding-sync/defaults/main.yml +++ b/roles/custom/matrix-sliding-sync/defaults/main.yml @@ -77,7 +77,7 @@ matrix_sliding_sync_systemd_required_services_list: ["docker.service"] matrix_sliding_sync_systemd_wanted_services_list: [] # Controls the SYNCV3_SERVER environment variable -matrix_sliding_sync_environment_variable_syncv3_server: "{{ matrix_homeserver_url }}" +matrix_sliding_sync_environment_variable_syncv3_server: "{{ matrix_homeserver_container_url }}" # Controls the SYNCV3_SECRET environment variable matrix_sliding_sync_environment_variable_syncv3_secret: ''