Skip to content

Commit

Permalink
Put matrix-static-files in matrix_playbook_reverse_proxy_container_ne…
Browse files Browse the repository at this point in the history
…twork unless matrix_playbook_reverse_proxy_type is "none"

We likely weren't handling the `matrix_playbook_reverse_proxy_type: other-traefik-container`
case well before. Now, we should be.
  • Loading branch information
spantaleev committed Jan 17, 2024
1 parent ee0a8c4 commit 17859ec
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions group_vars/matrix_servers
Original file line number Diff line number Diff line change
Expand Up @@ -4827,12 +4827,7 @@ matrix_user_verification_service_uvs_auth_token: "{{ '%s' | format(matrix_homese

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_network: "{{ (matrix_static_files_identifier if matrix_playbook_reverse_proxy_type == 'none' else matrix_playbook_reverse_proxy_container_network) }}"

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 }}"
Expand Down

0 comments on commit 17859ec

Please sign in to comment.