Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

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