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

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