Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

124 строки
6.0 KiB

  1. # ma1sd is a Federated Matrix Identity Server
  2. # See: https://github.com/ma1uta/ma1sd
  3. matrix_ma1sd_enabled: true
  4. matrix_ma1sd_container_image_self_build: false
  5. matrix_ma1sd_container_image_self_build_repo: "https://github.com/ma1uta/ma1sd.git"
  6. matrix_ma1sd_architecture: "amd64"
  7. matrix_ma1sd_docker_image: "{{ matrix_ma1sd_docker_image_name_prefix }}ma1uta/ma1sd:2.4.0-{{ matrix_ma1sd_architecture }}"
  8. matrix_ma1sd_docker_image_name_prefix: "{{ 'localhost/' if matrix_ma1sd_container_image_self_build else 'docker.io/' }}"
  9. matrix_ma1sd_docker_image_force_pull: "{{ matrix_ma1sd_docker_image.endswith(':latest') }}"
  10. matrix_ma1sd_base_path: "{{ matrix_base_data_path }}/ma1sd"
  11. # We need the docker src directory to be named ma1sd. See: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/588
  12. matrix_ma1sd_docker_src_files_path: "{{ matrix_ma1sd_base_path }}/docker-src/ma1sd"
  13. matrix_ma1sd_config_path: "{{ matrix_ma1sd_base_path }}/config"
  14. matrix_ma1sd_data_path: "{{ matrix_ma1sd_base_path }}/data"
  15. # Controls whether the matrix-ma1sd container exposes its HTTP port (tcp/8090 in the container).
  16. #
  17. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:8090"), or empty string to not expose.
  18. matrix_ma1sd_container_http_host_bind_port: ''
  19. # A list of extra arguments to pass to the container
  20. matrix_ma1sd_container_extra_arguments: []
  21. # List of systemd services that matrix-ma1sd.service depends on
  22. matrix_ma1sd_systemd_required_services_list: ['docker.service']
  23. # List of systemd services that matrix-ma1sd.service wants
  24. matrix_ma1sd_systemd_wanted_services_list: []
  25. # Your identity server is private by default.
  26. # To ensure maximum discovery, you can make your identity server
  27. # also forward lookups to the central matrix.org Identity server
  28. # (at the cost of potentially leaking all your contacts information).
  29. # Enabling this is discouraged. Learn more here: https://github.com/ma1uta/ma1sd/blob/master/docs/features/identity.md#lookups
  30. matrix_ma1sd_matrixorg_forwarding_enabled: false
  31. # ma1sd has serveral supported identity stores.
  32. # One of them is storing identities directly in Synapse's database.
  33. # Learn more here: https://github.com/ma1uta/ma1sd/blob/master/docs/stores/synapse.md
  34. matrix_ma1sd_synapsesql_enabled: false
  35. matrix_ma1sd_synapsesql_type: ""
  36. matrix_ma1sd_synapsesql_connection: ""
  37. # Setting up email-sending settings is required for using ma1sd.
  38. matrix_ma1sd_threepid_medium_email_identity_from: "matrix@{{ matrix_domain }}"
  39. matrix_ma1sd_threepid_medium_email_connectors_smtp_host: ""
  40. matrix_ma1sd_threepid_medium_email_connectors_smtp_port: 587
  41. matrix_ma1sd_threepid_medium_email_connectors_smtp_tls: 1
  42. matrix_ma1sd_threepid_medium_email_connectors_smtp_login: ""
  43. matrix_ma1sd_threepid_medium_email_connectors_smtp_password: ""
  44. # DNS overwrites are useful for telling ma1sd how it can reach the homeserver directly.
  45. # Useful when reverse-proxying certain URLs (e.g. `/_matrix/client/r0/user_directory/search`) to ma1sd,
  46. # so that ma1sd can rewrite the original URL to one that would reach the homeserver.
  47. matrix_ma1sd_dns_overwrite_enabled: false
  48. matrix_ma1sd_dns_overwrite_homeserver_client_name: "{{ matrix_server_fqn_matrix }}"
  49. matrix_ma1sd_dns_overwrite_homeserver_client_value: "http://matrix-synapse:8008"
  50. # Override the default email templates
  51. # To use this, fill in the template variables with the full desired template as a multi-line YAML variable
  52. #
  53. # More info:
  54. # https://github.com/ma1uta/ma1sd/blob/master/docs/threepids/notification/template-generator.md
  55. # https://github.com/ma1uta/ma1sd/tree/master/src/main/resources/threepids/email
  56. matrix_ma1sd_threepid_medium_email_custom_templates_enabled: false
  57. matrix_ma1sd_threepid_medium_email_custom_invite_template: ""
  58. matrix_ma1sd_threepid_medium_email_custom_session_validation_template: ""
  59. matrix_ma1sd_threepid_medium_email_custom_unbind_fraudulent_template: ""
  60. matrix_ma1sd_threepid_medium_email_custom_matrixid_template: ""
  61. # Controls whether the self-check feature should validate SSL certificates.
  62. matrix_ma1sd_self_check_validate_certificates: true
  63. # Controls ma1sd logging verbosity for troubleshooting.
  64. #
  65. # According to: https://github.com/ma1uta/ma1sd/blob/master/docs/troubleshooting.md#increase-verbosity
  66. matrix_ma1sd_verbose_logging: false
  67. # Setting up support for API prefixes
  68. matrix_ma1sd_v1_enabled: true
  69. matrix_ma1sd_v2_enabled: true
  70. # Fix for missing 3PIDS bug
  71. matrix_ma1sd_hashing_enabled: true
  72. # Default ma1sd configuration template which covers the generic use case.
  73. # You can customize it by controlling the various variables inside it.
  74. #
  75. # For a more advanced customization, you can extend the default (see `matrix_ma1sd_configuration_extension_yaml`)
  76. # or completely replace this variable with your own template.
  77. matrix_ma1sd_configuration_yaml: "{{ lookup('template', 'templates/ma1sd.yaml.j2') }}"
  78. matrix_ma1sd_configuration_extension_yaml: |
  79. # Your custom YAML configuration for ma1sd goes here.
  80. # This configuration extends the default starting configuration (`matrix_ma1sd_configuration_yaml`).
  81. #
  82. # You can override individual variables from the default configuration, or introduce new ones.
  83. #
  84. # If you need something more special, you can take full control by
  85. # completely redefining `matrix_ma1sd_configuration_yaml`.
  86. #
  87. # Example configuration extension follows:
  88. #
  89. # ldap:
  90. # enabled: true
  91. # connection:
  92. # host: ldapHostnameOrIp
  93. # tls: false
  94. # port: 389
  95. # baseDNs: ['OU=Users,DC=example,DC=org']
  96. # bindDn: CN=My Ma1sd User,OU=Users,DC=example,DC=org
  97. # bindPassword: TheUserPassword
  98. matrix_ma1sd_configuration_extension: "{{ matrix_ma1sd_configuration_extension_yaml|from_yaml if matrix_ma1sd_configuration_extension_yaml|from_yaml is mapping else {} }}"
  99. # Holds the final ma1sd configuration (a combination of the default and its extension).
  100. # You most likely don't need to touch this variable. Instead, see `matrix_ma1sd_configuration_yaml`.
  101. matrix_ma1sd_configuration: "{{ matrix_ma1sd_configuration_yaml|from_yaml|combine(matrix_ma1sd_configuration_extension, recursive=True) }}"