Matrix Docker Ansible eploy
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

86 linhas
4.4 KiB

  1. # matrix-registration is a simple python application to have a token based matrix registration
  2. # See: https://zeratax.github.io/matrix-registration/
  3. matrix_registration_enabled: true
  4. matrix_registration_container_image_self_build: false
  5. matrix_registration_container_image_self_build_repo: "https://github.com/ZerataX/matrix-registration"
  6. matrix_registration_container_image_self_build_branch: "{{ 'master' if matrix_registration_version == 'latest' else matrix_registration_version }}"
  7. matrix_registration_base_path: "{{ matrix_base_data_path }}/matrix-registration"
  8. matrix_registration_config_path: "{{ matrix_registration_base_path }}/config"
  9. matrix_registration_data_path: "{{ matrix_registration_base_path }}/data"
  10. matrix_registration_docker_src_files_path: "{{ matrix_registration_base_path }}/docker-src"
  11. matrix_registration_version: "v0.7.1"
  12. matrix_registration_docker_image: "{{ matrix_registration_docker_image_name_prefix }}devture/zeratax-matrix-registration:{{ matrix_registration_version }}"
  13. matrix_registration_docker_image_name_prefix: "{{ 'localhost/' if matrix_registration_container_image_self_build else 'docker.io/' }}"
  14. matrix_registration_docker_image_force_pull: "{{ matrix_registration_docker_image.endswith(':latest') }}"
  15. # A list of extra arguments to pass to the container
  16. matrix_registration_container_extra_arguments: []
  17. # List of systemd services that matrix-registration.service depends on
  18. matrix_registration_systemd_required_services_list: ['docker.service']
  19. # List of systemd services that matrix-registration.service wants
  20. matrix_registration_systemd_wanted_services_list: []
  21. # Controls whether the matrix-registration container exposes its HTTP port (tcp/5000 in the container).
  22. #
  23. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:8767"), or empty string to not expose.
  24. matrix_registration_container_http_host_bind_port: ''
  25. # The path at which Matrix Registration will be exposed on `matrix.DOMAIN`
  26. # (only applies when matrix-nginx-proxy is used).
  27. matrix_registration_public_endpoint: /matrix-registration
  28. matrix_registration_api_register_endpoint: "{{ matrix_homeserver_url }}{{ matrix_registration_public_endpoint }}/register"
  29. matrix_registration_api_token_endpoint: "{{ matrix_homeserver_url }}{{ matrix_registration_public_endpoint }}/token"
  30. matrix_registration_api_validate_certs: true
  31. # The URL to your homeserver (e.g.: `https://matrix.DOMAIN`).
  32. # A local (in-container address) is preferable.
  33. matrix_registration_server_location: ""
  34. matrix_registration_server_name: "{{ matrix_domain }}"
  35. # matrix_registration_shared_secret needs to match the homeserver's registration secret.
  36. # For Synapse, that's the `registration_shared_secret` setting.
  37. matrix_registration_shared_secret: ""
  38. # matrix_registration_admin_secret is your own admin secret for using matrix-registration (creating new tokens, etc.)
  39. matrix_registration_admin_secret: ""
  40. matrix_registration_riot_instance: "https://riot.im/app/"
  41. # Default matrix-registration configuration template which covers the generic use case.
  42. # You can customize it by controlling the various variables inside it.
  43. #
  44. # For a more advanced customization, you can extend the default (see `matrix_registration_configuration_extension_yaml`)
  45. # or completely replace this variable with your own template.
  46. matrix_registration_configuration_yaml: "{{ lookup('template', 'templates/config.yaml.j2') }}"
  47. matrix_registration_configuration_extension_yaml: |
  48. # Your custom YAML configuration for registration goes here.
  49. # This configuration extends the default starting configuration (`matrix_registration_configuration_yaml`).
  50. #
  51. # You can override individual variables from the default configuration, or introduce new ones.
  52. #
  53. # If you need something more special, you can take full control by
  54. # completely redefining `matrix_registration_configuration_yaml`.
  55. #
  56. # Example configuration extension follows:
  57. #
  58. # password:
  59. # min_length: 12
  60. matrix_registration_configuration_extension: "{{ matrix_registration_configuration_extension_yaml|from_yaml if matrix_registration_configuration_extension_yaml|from_yaml is mapping else {} }}"
  61. # Holds the final matrix-registration configuration (a combination of the default and its extension).
  62. # You most likely don't need to touch this variable. Instead, see `matrix_registration_configuration_yaml`.
  63. matrix_registration_configuration: "{{ matrix_registration_configuration_yaml|from_yaml|combine(matrix_registration_configuration_extension, recursive=True) }}"