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

105 строки
4.2 KiB

  1. matrix_mxisd_enabled: true
  2. matrix_mxisd_docker_image: "kamax/mxisd:1.2.2"
  3. matrix_mxisd_base_path: "{{ matrix_base_data_path }}/mxisd"
  4. matrix_mxisd_config_path: "{{ matrix_mxisd_base_path }}/config"
  5. matrix_mxisd_data_path: "{{ matrix_mxisd_base_path }}/data"
  6. # Controls whether the mxisd web server's port (`8090`) is exposed outside of the container.
  7. matrix_mxisd_container_expose_port: false
  8. # List of systemd services that matrix-mxisd.service depends on
  9. matrix_mxisd_systemd_required_services_list: ['docker.service']
  10. # List of systemd services that matrix-mxisd.service wants
  11. matrix_mxisd_systemd_wanted_services_list: []
  12. # Your identity server is private by default.
  13. # To ensure maximum discovery, you can make your identity server
  14. # also forward lookups to the central matrix.org Identity server
  15. # (at the cost of potentially leaking all your contacts information).
  16. # Enabling this is discouraged. Learn more here: https://github.com/kamax-io/mxisd/blob/master/docs/features/identity.md#lookups
  17. matrix_mxisd_matrixorg_forwarding_enabled: false
  18. # mxisd has serveral supported identity stores.
  19. # One of them is storing identities directly in Synapse's database.
  20. # Learn more here: https://github.com/kamax-matrix/mxisd/blob/master/docs/stores/synapse.md
  21. matrix_mxisd_synapsesql_enabled: false
  22. matrix_mxisd_synapsesql_type: ""
  23. matrix_mxisd_synapsesql_connection: ""
  24. # Setting up email-sending settings is required for using mxisd.
  25. matrix_mxid_threepid_medium_email_identity_from: "matrix@{{ hostname_identity }}"
  26. matrix_mxid_threepid_medium_email_connectors_smtp_host: ""
  27. matrix_mxid_threepid_medium_email_connectors_smtp_port: 587
  28. matrix_mxid_threepid_medium_email_connectors_smtp_tls: 1
  29. matrix_mxid_threepid_medium_email_connectors_smtp_login: ""
  30. matrix_mxid_threepid_medium_email_connectors_smtp_password: ""
  31. # Default mxisd configuration template which covers the generic use case.
  32. # You can customize it by controlling the various variables inside it.
  33. #
  34. # For a more advanced customization, you can extend the default (see `matrix_mxisd_configuration_extension_yaml`)
  35. # or completely replace this variable with your own template.
  36. matrix_mxisd_configuration_yaml: |
  37. matrix:
  38. domain: {{ hostname_identity }}
  39. server:
  40. name: {{ hostname_matrix }}
  41. key:
  42. path: /var/mxisd/sign.key
  43. storage:
  44. provider:
  45. sqlite:
  46. database: /var/mxisd/mxisd.db
  47. {% if matrix_mxisd_matrixorg_forwarding_enabled %}
  48. forward:
  49. servers: ['matrix-org']
  50. {% endif %}
  51. threepid:
  52. medium:
  53. email:
  54. identity:
  55. from: {{ matrix_mxid_threepid_medium_email_identity_from }}
  56. connectors:
  57. smtp:
  58. host: {{ matrix_mxid_threepid_medium_email_connectors_smtp_host }}
  59. port: {{ matrix_mxid_threepid_medium_email_connectors_smtp_port }}
  60. tls: {{ matrix_mxid_threepid_medium_email_connectors_smtp_tls }}
  61. login: {{ matrix_mxid_threepid_medium_email_connectors_smtp_login }}
  62. password: {{ matrix_mxid_threepid_medium_email_connectors_smtp_password }}
  63. synapseSql:
  64. enabled: {{ matrix_mxisd_synapsesql_enabled }}
  65. type: {{ matrix_mxisd_synapsesql_type }}
  66. connection: {{ matrix_mxisd_synapsesql_connection }}
  67. matrix_mxisd_configuration_extension_yaml: |
  68. # Your custom YAML configuration for mxisd goes here.
  69. # This configuration extends the default starting configuration (`matrix_mxisd_configuration_yaml`).
  70. #
  71. # You can override individual variables from the default configuration, or introduce new ones.
  72. #
  73. # If you need something more special, you can take full control by
  74. # completely redefining `matrix_mxisd_configuration_yaml`.
  75. #
  76. # Example configuration extension follows:
  77. #
  78. # ldap:
  79. # enabled: true
  80. # connection:
  81. # host: ldapHostnameOrIp
  82. # tls: false
  83. # port: 389
  84. # baseDns: ['OU=Users,DC=example,DC=org']
  85. # bindDn: CN=My Mxisd User,OU=Users,DC=example,DC=org
  86. # bindPassword: TheUserPassword
  87. # Holds the final mxisd configuration (a combination of the default and its extension).
  88. # You most likely don't need to touch this variable. Instead, see `matrix_mxisd_configuration_yaml`.
  89. matrix_mxisd_configuration: "{{ matrix_mxisd_configuration_yaml|from_yaml|combine(matrix_mxisd_configuration_extension, recursive=True) }}"