Move matrix-user-verification service to its own container network

This commit is contained in:
Slavi Pantaleev 2024-01-13 17:31:03 +02:00
parent 0921087a21
commit cdf28c39d3
3 changed files with 5 additions and 1 deletions

View File

@ -5065,6 +5065,7 @@ matrix_user_creator_users_auto: |
######################################################################
matrix_user_verification_service_enabled: false
matrix_user_verification_service_systemd_required_services_list: |
{{
['docker.service']
@ -5072,6 +5073,8 @@ matrix_user_verification_service_systemd_required_services_list: |
(['matrix-' + matrix_homeserver_implementation + '.service'])
}}
matrix_user_verification_service_container_network: "{{ matrix_addons_container_network }}"
matrix_user_verification_service_container_additional_networks: |
{{
(

View File

@ -25,7 +25,7 @@ matrix_user_verification_service_docker_image: "{{ matrix_user_verification_serv
matrix_user_verification_service_docker_image_force_pull: "{{ matrix_user_verification_service_docker_image.endswith(':latest') }}"
# The base container network. It will be auto-created by this role if it doesn't exist already.
matrix_user_verification_service_container_network: "{{ matrix_docker_network }}"
matrix_user_verification_service_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

@ -31,3 +31,4 @@
when: "item.when | bool and vars[item.name] == ''"
with_items:
- {'name': 'matrix_user_verification_service_uvs_homeserver_url', when: true}
- {'name': 'matrix_user_verification_service_container_network', when: true}