From c0559870b50ad9e3848533c10066f985ff4b3ae0 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Wed, 25 Dec 2024 16:46:49 +0200 Subject: [PATCH] Make matrix-registration-bot not try to talk to the homeserver via matrix-traefik:8008 (matrix-internal-client-api) Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3898#issuecomment-2561470366 --- group_vars/matrix_servers | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/group_vars/matrix_servers b/group_vars/matrix_servers index 26511a65b..85e8a8717 100755 --- a/group_vars/matrix_servers +++ b/group_vars/matrix_servers @@ -2734,10 +2734,12 @@ matrix_bot_matrix_registration_bot_container_network: "{{ matrix_addons_containe matrix_bot_matrix_registration_bot_container_additional_networks_auto: |- {{ - ([] if matrix_addons_homeserver_container_network == '' else [matrix_addons_homeserver_container_network]) + ([matrix_homeserver_container_network] if matrix_bot_matrix_registration_bot_container_network != matrix_homeserver_container_network else []) }} -matrix_bot_matrix_registration_bot_api_base_url: "{{ matrix_addons_homeserver_client_api_url }}" +# Using `matrix_addons_homeserver_client_api_url` would not work here, +# because `matrix-traefik:8008` (matrix-internal-client-api) does not expose any `/_synapse` paths. +matrix_bot_matrix_registration_bot_api_base_url: "{{ matrix_homeserver_container_url }}" ###################################################################### #