Compare commits

...

4 Commits

4 changed files with 9 additions and 7 deletions

View File

@ -2734,10 +2734,12 @@ matrix_bot_matrix_registration_bot_container_network: "{{ matrix_addons_containe
matrix_bot_matrix_registration_bot_container_additional_networks_auto: |- 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 }}"
###################################################################### ######################################################################
# #

View File

@ -1,7 +1,7 @@
alabaster==1.0.0 alabaster==1.0.0
babel==2.16.0 babel==2.16.0
certifi==2024.12.14 certifi==2024.12.14
charset-normalizer==3.4.0 charset-normalizer==3.4.1
click==8.1.8 click==8.1.8
docutils==0.21.2 docutils==0.21.2
idna==3.10 idna==3.10

View File

@ -75,7 +75,7 @@ traefik.http.routers.matrix-synapse-reverse-proxy-companion-internal-client-api.
{% if matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_client_api_enabled %} {% if matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_client_api_enabled %}
############################################################ ############################################################
# # # #
# Public Synapse Admin API (/_synapse/client) # # Public Synapse Client API (/_synapse/client) #
# # # #
############################################################ ############################################################
@ -105,7 +105,7 @@ traefik.http.routers.matrix-synapse-reverse-proxy-companion-public-client-synaps
############################################################ ############################################################
# # # #
# /Public Synapse Admin API (/_synapse/client) # # /Public Synapse Client API (/_synapse/client) #
# # # #
############################################################ ############################################################
{% endif %} {% endif %}

View File

@ -130,7 +130,7 @@ traefik.http.routers.matrix-synapse-internal-client-api.entrypoints={{ matrix_sy
{% if matrix_synapse_container_labels_public_client_synapse_client_api_enabled %} {% if matrix_synapse_container_labels_public_client_synapse_client_api_enabled %}
############################################################ ############################################################
# # # #
# Public Synapse Admin API (/_synapse/client) # # Public Synapse Client API (/_synapse/client) #
# # # #
############################################################ ############################################################
@ -160,7 +160,7 @@ traefik.http.routers.matrix-synapse-public-client-synapse-client-api.tls.certRes
############################################################ ############################################################
# # # #
# /Public Synapse Admin API (/_synapse/client) # # /Public Synapse Client API (/_synapse/client) #
# # # #
############################################################ ############################################################
{% endif %} {% endif %}