Преглед изворни кода

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

pull/3093/head
Slavi Pantaleev пре 2 година
родитељ
комит
cdf28c39d3
3 измењених фајлова са 5 додато и 1 уклоњено
  1. +3
    -0
      group_vars/matrix_servers
  2. +1
    -1
      roles/custom/matrix-user-verification-service/defaults/main.yml
  3. +1
    -0
      roles/custom/matrix-user-verification-service/tasks/validate_config.yml

+ 3
- 0
group_vars/matrix_servers Прегледај датотеку

@@ -5065,6 +5065,7 @@ matrix_user_creator_users_auto: |
###################################################################### ######################################################################


matrix_user_verification_service_enabled: false matrix_user_verification_service_enabled: false

matrix_user_verification_service_systemd_required_services_list: | matrix_user_verification_service_systemd_required_services_list: |
{{ {{
['docker.service'] ['docker.service']
@@ -5072,6 +5073,8 @@ matrix_user_verification_service_systemd_required_services_list: |
(['matrix-' + matrix_homeserver_implementation + '.service']) (['matrix-' + matrix_homeserver_implementation + '.service'])
}} }}


matrix_user_verification_service_container_network: "{{ matrix_addons_container_network }}"

matrix_user_verification_service_container_additional_networks: | matrix_user_verification_service_container_additional_networks: |
{{ {{
( (


+ 1
- 1
roles/custom/matrix-user-verification-service/defaults/main.yml Прегледај датотеку

@@ -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') }}" 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. # 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. # 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. # The role does not create these networks, so make sure they already exist.


+ 1
- 0
roles/custom/matrix-user-verification-service/tasks/validate_config.yml Прегледај датотеку

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

Loading…
Откажи
Сачувај