Move all Matrix client apps into the matrix-addons container network

Putting each client into its own network was good for isolation,
but it's quite wasteful in terms of the container network pool.
This commit is contained in:
Slavi Pantaleev
2024-01-05 07:17:11 +02:00
parent 2ec6448cdb
commit b37a02720f
9 changed files with 20 additions and 28 deletions

View File

@ -21,7 +21,7 @@ matrix_client_element_data_path: "{{ matrix_base_data_path }}/client-element"
matrix_client_element_docker_src_files_path: "{{ matrix_client_element_data_path }}/docker-src"
# The base container network
matrix_client_element_container_network: matrix-client-element
matrix_client_element_container_network: ''
# A list of additional container networks that the container would be connected to.
# The role does not create these networks, so make sure they already exist.

View File

@ -6,7 +6,8 @@
You need to define a required configuration setting (`{{ item }}`) for using Element.
when: "vars[item] == ''"
with_items:
- "matrix_client_element_default_hs_url"
- matrix_client_element_default_hs_url
- matrix_client_element_container_network
- name: Fail if Element location sharing enabled, but no tile server defined
ansible.builtin.fail: