Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

88 line
5.2 KiB

  1. # SPDX-FileCopyrightText: 2023 - 2025 Slavi Pantaleev
  2. # SPDX-FileCopyrightText: 2023 MDAD project contributors
  3. # SPDX-FileCopyrightText: 2023 Samuel Meenzen
  4. # SPDX-FileCopyrightText: 2024 Suguru Hirahara
  5. #
  6. # SPDX-License-Identifier: AGPL-3.0-or-later
  7. ---
  8. # matrix-user-verification-service - Service to verify details of a user based on an Open ID token
  9. # Project source code URL: https://github.com/matrix-org/matrix-user-verification-service
  10. # Set this to the display name for ansible used in Output e.g. fail_msg
  11. matrix_user_verification_service_ansible_name: "Matrix User Verification Service"
  12. # Enable by default. This is overwritten in provided group vars.
  13. matrix_user_verification_service_enabled: true
  14. matrix_user_verification_service_container_image_self_build: "{{ matrix_architecture != 'amd64' }}"
  15. matrix_user_verification_service_container_image_self_build_repo: "https://github.com/matrix-org/matrix-user-verification-service"
  16. matrix_user_verification_service_container_image_self_build_branch: "{{ 'master' if matrix_registration_version == 'latest' else matrix_user_verification_service_version }}"
  17. # renovate: datasource=docker depName=matrixdotorg/matrix-user-verification-service
  18. matrix_user_verification_service_version: "v3.0.0"
  19. # Paths
  20. matrix_user_verification_service_base_path: "{{ matrix_base_data_path }}/user-verification-service"
  21. matrix_user_verification_service_config_path: "{{ matrix_user_verification_service_base_path }}/config"
  22. matrix_user_verification_service_config_env_file: "{{ matrix_user_verification_service_config_path }}/.env"
  23. matrix_user_verification_service_docker_src_files_path: "{{ matrix_user_verification_service_base_path }}/docker-src"
  24. # Docker
  25. matrix_user_verification_service_docker_image: "{{ matrix_user_verification_service_docker_image_registry_prefix }}matrixdotorg/matrix-user-verification-service:{{ matrix_user_verification_service_version }}"
  26. matrix_user_verification_service_docker_image_registry_prefix: "{{ 'localhost/' if matrix_user_verification_service_container_image_self_build else matrix_user_verification_service_docker_image_registry_prefix_upstream }}"
  27. matrix_user_verification_service_docker_image_registry_prefix_upstream: "{{ matrix_user_verification_service_docker_image_registry_prefix_upstream_default }}"
  28. matrix_user_verification_service_docker_image_registry_prefix_upstream_default: "docker.io/"
  29. matrix_user_verification_service_docker_image_force_pull: "{{ matrix_user_verification_service_docker_image.endswith(':latest') }}"
  30. # The base container network. It will be auto-created by this role if it doesn't exist already.
  31. matrix_user_verification_service_container_network: ""
  32. # A list of additional container networks that the container would be connected to.
  33. # The role does not create these networks, so make sure they already exist.
  34. # Use this to expose this container to another reverse proxy, which runs in a different container network.
  35. matrix_user_verification_service_container_additional_networks: []
  36. matrix_user_verification_service_container_name: "matrix-user-verification-service"
  37. # This will be set in group vars
  38. matrix_user_verification_service_container_http_host_bind_port: ''
  39. matrix_user_verification_service_container_extra_arguments: []
  40. # Systemd
  41. matrix_user_verification_service_systemd_required_services_list: []
  42. matrix_user_verification_service_systemd_wanted_services_list: []
  43. matrix_user_verification_service_systemd_service_basename: "matrix-user-verification-service"
  44. matrix_user_verification_service_systemd_service_name: "{{ matrix_user_verification_service_systemd_service_basename }}.service"
  45. # Matrix User Verification Service Configuration
  46. ## REQUIRED
  47. # Homeserver client API admin token (synapse only)- Required for the service to verify room membership
  48. matrix_user_verification_service_uvs_access_token: ''
  49. # homeserver client api url
  50. matrix_user_verification_service_uvs_homeserver_url: ""
  51. # disable check for non private ip range of homeserver. e.g. set to `true` if your homeserver domain resolves to a private ip.
  52. matrix_user_verification_service_uvs_disable_ip_blacklist: false
  53. ## OPTIONAL
  54. # Require an Auth-Token with API calls. If set to false, UVS will reply to any API call.
  55. # The Auth-Token is defined via: matrix_user_verification_service_uvs_auth_token
  56. matrix_user_verification_service_uvs_require_auth: true
  57. # Auth token to protect the API
  58. # If enabled any calls to the provided API endpoints need have the header "Authorization: Bearer TOKEN".
  59. # A Token will be derived from matrix_homeserver_generic_secret_key in group_vars/matrix_servers
  60. matrix_user_verification_service_uvs_auth_token: ''
  61. # Pin UVS to only check openId Tokens for the matrix_server_name configured by this playbook.
  62. matrix_user_verification_service_uvs_pin_openid_verify_server_name: true
  63. # Matrix server name to verify OpenID tokens against.
  64. # This is not the homeserverURL, but rather the domain in the Matrix "user ID"
  65. # UVS can also be instructed to verify against the Matrix server name passed in the token, to enable set to ""
  66. matrix_user_verification_service_uvs_openid_verify_server_name: "{{ matrix_domain }}"
  67. # Log level
  68. # See choices here: https://github.com/winstonjs/winston#logging-levels
  69. matrix_user_verification_service_uvs_log_level: info