Matrix Docker Ansible eploy
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 

84 рядки
4.7 KiB

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