From da1f570db67db3bfe576afba624f2e46d9726e11 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Wed, 17 Jan 2024 07:23:42 +0200 Subject: [PATCH] Make sure matrix-static-files is connected to the (other Traefik) reverse-proxy network --- group_vars/matrix_servers | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/group_vars/matrix_servers b/group_vars/matrix_servers index 32c65c561..f15c88e3b 100755 --- a/group_vars/matrix_servers +++ b/group_vars/matrix_servers @@ -4829,6 +4829,11 @@ matrix_static_files_enabled: true matrix_static_files_container_network: "{{ (matrix_playbook_reverse_proxy_container_network if matrix_playbook_reverse_proxy_type == 'playbook-managed-traefik' else matrix_static_files_identifier) }}" +matrix_static_files_additional_networks_auto: |- + {{ + ([matrix_playbook_reverse_proxyable_services_additional_network] if (matrix_playbook_reverse_proxyable_services_additional_network and matrix_playbook_reverse_proxy_type != 'playbook-managed-traefik') else []) + }} + matrix_static_files_container_labels_traefik_enabled: "{{ matrix_playbook_traefik_labels_enabled }}" matrix_static_files_container_labels_traefik_docker_network: "{{ matrix_playbook_reverse_proxyable_services_additional_network }}" matrix_static_files_container_labels_traefik_entrypoints: "{{ devture_traefik_entrypoint_primary }}"