Matrix Docker Ansible eploy
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 

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