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:
@ -16,7 +16,7 @@ matrix_client_cinny_data_path: "{{ matrix_base_data_path }}/client-cinny"
|
||||
matrix_client_cinny_docker_src_files_path: "{{ matrix_client_cinny_data_path }}/docker-src"
|
||||
|
||||
# The base container network
|
||||
matrix_client_cinny_container_network: matrix-client-cinny
|
||||
matrix_client_cinny_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.
|
||||
|
@ -5,7 +5,8 @@
|
||||
You need to define a required configuration setting (`{{ item }}`) to use Cinny.
|
||||
when: "vars[item] == '' or vars[item] is none"
|
||||
with_items:
|
||||
- "matrix_client_cinny_default_hs_url"
|
||||
- matrix_client_cinny_default_hs_url
|
||||
- matrix_client_cinny_container_network
|
||||
|
||||
- when: matrix_client_cinny_container_labels_traefik_enabled | bool
|
||||
block:
|
||||
|
@ -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.
|
||||
|
@ -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:
|
||||
|
@ -16,7 +16,7 @@ matrix_client_hydrogen_data_path: "{{ matrix_base_data_path }}/client-hydrogen"
|
||||
matrix_client_hydrogen_docker_src_files_path: "{{ matrix_client_hydrogen_data_path }}/docker-src"
|
||||
|
||||
# The base container network
|
||||
matrix_client_hydrogen_container_network: matrix-client-hydrogen
|
||||
matrix_client_hydrogen_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.
|
||||
|
@ -6,7 +6,8 @@
|
||||
You need to define a required configuration setting (`{{ item }}`) to use Hydrogen.
|
||||
when: "(vars[item] == '' or vars[item] is none) and matrix_client_hydrogen_container_image_self_build | bool"
|
||||
with_items:
|
||||
- "matrix_client_hydrogen_default_hs_url"
|
||||
- matrix_client_hydrogen_default_hs_url
|
||||
- matrix_client_hydrogen_container_network
|
||||
|
||||
- when: matrix_client_hydrogen_container_labels_traefik_enabled | bool
|
||||
block:
|
||||
|
@ -15,7 +15,7 @@ matrix_client_schildichat_data_path: "{{ matrix_base_data_path }}/client-schildi
|
||||
matrix_client_schildichat_docker_src_files_path: "{{ matrix_client_schildichat_data_path }}/docker-src"
|
||||
|
||||
# The base container network
|
||||
matrix_client_schildichat_container_network: matrix-client-schildichat
|
||||
matrix_client_schildichat_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.
|
||||
|
@ -6,7 +6,8 @@
|
||||
You need to define a required configuration setting (`{{ item }}`) for using schildichat.
|
||||
when: "vars[item] == ''"
|
||||
with_items:
|
||||
- "matrix_client_schildichat_default_hs_url"
|
||||
- matrix_client_schildichat_default_hs_url
|
||||
- matrix_client_schildichat_container_network
|
||||
|
||||
- name: Fail if schildichat location sharing enabled, but no tile server defined
|
||||
ansible.builtin.fail:
|
||||
|
Reference in New Issue
Block a user