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

180 строки
7.4 KiB

  1. ---
  2. # postmoogle is an email to Matrix bridge using its bot user
  3. # Project source code URL: https://github.com/etkecc/postmoogle
  4. matrix_bot_postmoogle_enabled: true
  5. matrix_bot_postmoogle_container_image_self_build: false
  6. matrix_bot_postmoogle_docker_repo: "https://github.com/etkecc/postmoogle.git"
  7. matrix_bot_postmoogle_docker_repo_version: "{{ 'main' if matrix_bot_postmoogle_version == 'latest' else matrix_bot_postmoogle_version }}"
  8. matrix_bot_postmoogle_docker_src_files_path: "{{ matrix_base_data_path }}/postmoogle/docker-src"
  9. # renovate: datasource=docker depName=ghcr.io/etkecc/postmoogle
  10. matrix_bot_postmoogle_version: v0.9.23
  11. matrix_bot_postmoogle_docker_image: "{{ matrix_bot_postmoogle_docker_image_name_prefix }}etkecc/postmoogle:{{ matrix_bot_postmoogle_version }}"
  12. matrix_bot_postmoogle_docker_image_name_prefix: "{{ 'localhost/' if matrix_bot_postmoogle_container_image_self_build else 'ghcr.io/' }}"
  13. matrix_bot_postmoogle_docker_image_force_pull: "{{ matrix_bot_postmoogle_docker_image.endswith(':latest') }}"
  14. matrix_bot_postmoogle_base_path: "{{ matrix_base_data_path }}/postmoogle"
  15. matrix_bot_postmoogle_config_path: "{{ matrix_bot_postmoogle_base_path }}/config"
  16. matrix_bot_postmoogle_data_path: "{{ matrix_bot_postmoogle_base_path }}/data"
  17. matrix_bot_postmoogle_container_network: ""
  18. matrix_bot_postmoogle_container_additional_networks: "{{ matrix_bot_postmoogle_container_additional_networks_auto + matrix_bot_postmoogle_container_additional_networks_custom }}"
  19. matrix_bot_postmoogle_container_additional_networks_auto: []
  20. matrix_bot_postmoogle_container_additional_networks_custom: []
  21. # A list of extra arguments to pass to the container
  22. matrix_bot_postmoogle_container_extra_arguments: []
  23. # List of systemd services that matrix-bot-postmoogle.service depends on
  24. matrix_bot_postmoogle_systemd_required_services_list: "{{ matrix_bot_postmoogle_systemd_required_services_list_default + matrix_bot_postmoogle_systemd_required_services_list_auto + matrix_bot_postmoogle_systemd_required_services_list_custom }}"
  25. matrix_bot_postmoogle_systemd_required_services_list_default: "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
  26. matrix_bot_postmoogle_systemd_required_services_list_auto: []
  27. matrix_bot_postmoogle_systemd_required_services_list_custom: []
  28. # List of systemd services that matrix-bot-postmoogle.service wants
  29. matrix_bot_postmoogle_systemd_wanted_services_list: []
  30. # Database-related configuration fields.
  31. #
  32. # To use SQLite, stick to these defaults.
  33. #
  34. # To use Postgres:
  35. # - change the engine (`matrix_bot_postmoogle_database_engine: 'postgres'`)
  36. # - adjust your database credentials via the `matrix_bot_postmoogle_database_*` variables
  37. matrix_bot_postmoogle_database_engine: 'sqlite'
  38. matrix_bot_postmoogle_sqlite_database_path_local: "{{ matrix_bot_postmoogle_data_path }}/bot.db"
  39. matrix_bot_postmoogle_sqlite_database_path_in_container: "/data/bot.db"
  40. matrix_bot_postmoogle_database_username: 'postmoogle'
  41. matrix_bot_postmoogle_database_password: 'some-password'
  42. matrix_bot_postmoogle_database_hostname: ''
  43. matrix_bot_postmoogle_database_port: 5432
  44. matrix_bot_postmoogle_database_name: 'postmoogle'
  45. matrix_bot_postmoogle_database_sslmode: disable
  46. matrix_bot_postmoogle_database_connection_string: 'postgres://{{ matrix_bot_postmoogle_database_username }}:{{ matrix_bot_postmoogle_database_password }}@{{ matrix_bot_postmoogle_database_hostname }}:{{ matrix_bot_postmoogle_database_port }}/{{ matrix_bot_postmoogle_database_name }}?sslmode={{ matrix_bot_postmoogle_database_sslmode }}'
  47. matrix_bot_postmoogle_storage_database: "{{
  48. {
  49. 'sqlite': matrix_bot_postmoogle_sqlite_database_path_in_container,
  50. 'postgres': matrix_bot_postmoogle_database_connection_string,
  51. }[matrix_bot_postmoogle_database_engine]
  52. }}"
  53. matrix_bot_postmoogle_database_dialect: "{{
  54. {
  55. 'sqlite': 'sqlite3',
  56. 'postgres': 'postgres',
  57. }[matrix_bot_postmoogle_database_engine]
  58. }}"
  59. # The bot's username. This user needs to be created manually beforehand.
  60. # Also see `matrix_bot_postmoogle_password` or `matrix_bot_postmoogle_sharedsecret`
  61. matrix_bot_postmoogle_login: "postmoogle"
  62. # The password that the bot uses to authenticate.
  63. matrix_bot_postmoogle_password: ''
  64. # Alternative to password - shared secret requires matrix_bot_postmoogle_login to be MXID
  65. matrix_bot_postmoogle_sharedsecret: ''
  66. matrix_bot_postmoogle_homeserver: ""
  67. # Command prefix
  68. matrix_bot_postmoogle_prefix: '!pm'
  69. # Max email size in megabytes, including attachments
  70. matrix_bot_postmoogle_maxsize: '1024'
  71. # Optional SMTP relay mode
  72. matrix_bot_postmoogle_relay_host: ''
  73. matrix_bot_postmoogle_relay_port: ''
  74. matrix_bot_postmoogle_relay_username: ''
  75. matrix_bot_postmoogle_relay_password: ''
  76. # A list of admins
  77. # Example set of rules:
  78. # matrix_bot_postmoogle_admins:
  79. # - '@someone:example.com'
  80. # - '@another:example.com'
  81. # - '@bot.*:example.com'
  82. # - '@*:example.net'
  83. matrix_bot_postmoogle_admins: "{{ [matrix_admin] if matrix_admin else [] }}"
  84. # Sentry DSN. Deprecated, use matrix_bot_postmoogle_monitoring_sentry_dsn
  85. matrix_bot_postmoogle_sentry: ''
  86. # Sentry integration
  87. matrix_bot_postmoogle_monitoring_sentry_dsn: "{{ matrix_bot_postmoogle_sentry }}"
  88. matrix_bot_postmoogle_monitoring_sentry_rate: 20
  89. # healthchecks.io integration
  90. matrix_bot_postmoogle_monitoring_healthchecks_uuid: ''
  91. matrix_bot_postmoogle_monitoring_healthchecks_duration: 60
  92. # Log level
  93. matrix_bot_postmoogle_loglevel: 'INFO'
  94. # deprecated, use matrix_bot_postmoogle_domains
  95. matrix_bot_postmoogle_domain: "{{ matrix_server_fqn_matrix }}"
  96. matrix_bot_postmoogle_domains:
  97. - "{{ matrix_bot_postmoogle_domain }}" # backward compatibility
  98. # Password (passphrase) to encrypt account data
  99. matrix_bot_postmoogle_data_secret: ""
  100. # in-container ports
  101. matrix_bot_postmoogle_port: '2525'
  102. matrix_bot_postmoogle_tls_port: '25587'
  103. # on-host ports
  104. matrix_bot_postmoogle_smtp_host_bind_port: '25'
  105. matrix_bot_postmoogle_submission_host_bind_port: '587'
  106. ### SSL
  107. ## on-host SSL dir
  108. matrix_bot_postmoogle_ssl_path: ""
  109. ## in-container SSL paths
  110. # matrix_bot_postmoogle_tls_cert is the SSL certificates' certificates.
  111. # This var is likely set via group_vars/matrix_servers, so you don't need to set certs manually.
  112. # If you do need to set it manually, note that this is an in-container path.
  113. # To mount a certificates volumes into the container, use matrix_bot_postmoogle_ssl_path
  114. # Example value: /ssl/live/{{ matrix_bot_postmoogle_domain }}/fullchain.pem
  115. matrix_bot_postmoogle_tls_cert: ""
  116. # matrix_bot_postmoogle_tls_key is the SSL certificates' keys.
  117. # This var is likely set via group_vars/matrix_servers, so you don't need to set keys manually.
  118. # If you do need to set it manually, note that this is an in-container path.
  119. # To mount a certificates volumes into the container, use matrix_bot_postmoogle_ssl_path
  120. # Example value: /ssl/live/{{ matrix_bot_postmoogle_domain }}/privkey.pem
  121. matrix_bot_postmoogle_tls_key: ""
  122. # Mandatory TLS, even on plain SMTP port
  123. matrix_bot_postmoogle_tls_required: false
  124. # trusted proxies
  125. matrix_bot_postmoogle_proxies: []
  126. # known forwarders
  127. matrix_bot_postmoogle_mailboxes_forwarded: []
  128. # reserved mailboxes
  129. matrix_bot_postmoogle_mailboxes_reserved: []
  130. # mailbox activation flow
  131. matrix_bot_postmoogle_mailboxes_activation: none
  132. # Additional environment variables to pass to the postmoogle container
  133. #
  134. # Example:
  135. # matrix_bot_postmoogle_environment_variables_extension: |
  136. # postmoogle_TEXT_DONE=Done
  137. matrix_bot_postmoogle_environment_variables_extension: ''