Matrix Docker Ansible eploy
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 

182 líneas
7.2 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_postmoogle_enabled: true
  5. matrix_postmoogle_container_image_self_build: false
  6. matrix_postmoogle_docker_repo: "https://github.com/etkecc/postmoogle.git"
  7. matrix_postmoogle_docker_repo_version: "{{ 'main' if matrix_postmoogle_version == 'latest' else matrix_postmoogle_version }}"
  8. matrix_postmoogle_docker_src_files_path: "{{ matrix_base_data_path }}/postmoogle/docker-src"
  9. # renovate: datasource=docker depName=ghcr.io/etkecc/postmoogle
  10. matrix_postmoogle_version: v0.9.24
  11. matrix_postmoogle_docker_image: "{{ matrix_postmoogle_docker_image_registry_prefix }}etkecc/postmoogle:{{ matrix_postmoogle_version }}"
  12. matrix_postmoogle_docker_image_registry_prefix: "{{ 'localhost/' if matrix_postmoogle_container_image_self_build else matrix_postmoogle_docker_image_registry_prefix_upstream }}"
  13. matrix_postmoogle_docker_image_registry_prefix_upstream: "{{ matrix_postmoogle_docker_image_registry_prefix_upstream_default }}"
  14. matrix_postmoogle_docker_image_registry_prefix_upstream_default: "ghcr.io/"
  15. matrix_postmoogle_docker_image_force_pull: "{{ matrix_postmoogle_docker_image.endswith(':latest') }}"
  16. matrix_postmoogle_base_path: "{{ matrix_base_data_path }}/postmoogle"
  17. matrix_postmoogle_config_path: "{{ matrix_postmoogle_base_path }}/config"
  18. matrix_postmoogle_data_path: "{{ matrix_postmoogle_base_path }}/data"
  19. matrix_postmoogle_container_network: ""
  20. matrix_postmoogle_container_additional_networks: "{{ matrix_postmoogle_container_additional_networks_auto + matrix_postmoogle_container_additional_networks_custom }}"
  21. matrix_postmoogle_container_additional_networks_auto: []
  22. matrix_postmoogle_container_additional_networks_custom: []
  23. # A list of extra arguments to pass to the container
  24. matrix_postmoogle_container_extra_arguments: []
  25. # List of systemd services that matrix-postmoogle.service depends on
  26. matrix_postmoogle_systemd_required_services_list: "{{ matrix_postmoogle_systemd_required_services_list_default + matrix_postmoogle_systemd_required_services_list_auto + matrix_postmoogle_systemd_required_services_list_custom }}"
  27. matrix_postmoogle_systemd_required_services_list_default: "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
  28. matrix_postmoogle_systemd_required_services_list_auto: []
  29. matrix_postmoogle_systemd_required_services_list_custom: []
  30. # List of systemd services that matrix-postmoogle.service wants
  31. matrix_postmoogle_systemd_wanted_services_list: []
  32. # Database-related configuration fields.
  33. #
  34. # To use SQLite, stick to these defaults.
  35. #
  36. # To use Postgres:
  37. # - change the engine (`matrix_postmoogle_database_engine: 'postgres'`)
  38. # - adjust your database credentials via the `matrix_postmoogle_database_*` variables
  39. matrix_postmoogle_database_engine: 'sqlite'
  40. matrix_postmoogle_sqlite_database_path_local: "{{ matrix_postmoogle_data_path }}/bot.db"
  41. matrix_postmoogle_sqlite_database_path_in_container: "/data/bot.db"
  42. matrix_postmoogle_database_username: 'postmoogle'
  43. matrix_postmoogle_database_password: 'some-password'
  44. matrix_postmoogle_database_hostname: ''
  45. matrix_postmoogle_database_port: 5432
  46. matrix_postmoogle_database_name: 'postmoogle'
  47. matrix_postmoogle_database_sslmode: disable
  48. matrix_postmoogle_database_connection_string: 'postgres://{{ matrix_postmoogle_database_username }}:{{ matrix_postmoogle_database_password }}@{{ matrix_postmoogle_database_hostname }}:{{ matrix_postmoogle_database_port }}/{{ matrix_postmoogle_database_name }}?sslmode={{ matrix_postmoogle_database_sslmode }}'
  49. matrix_postmoogle_storage_database: "{{
  50. {
  51. 'sqlite': matrix_postmoogle_sqlite_database_path_in_container,
  52. 'postgres': matrix_postmoogle_database_connection_string,
  53. }[matrix_postmoogle_database_engine]
  54. }}"
  55. matrix_postmoogle_database_dialect: "{{
  56. {
  57. 'sqlite': 'sqlite3',
  58. 'postgres': 'postgres',
  59. }[matrix_postmoogle_database_engine]
  60. }}"
  61. # The bot's username. This user needs to be created manually beforehand.
  62. # Also see `matrix_postmoogle_password` or `matrix_postmoogle_sharedsecret`
  63. matrix_postmoogle_login: "postmoogle"
  64. # The password that the bot uses to authenticate.
  65. matrix_postmoogle_password: ''
  66. # Alternative to password - shared secret requires matrix_postmoogle_login to be MXID
  67. matrix_postmoogle_sharedsecret: ''
  68. matrix_postmoogle_homeserver: ""
  69. # Command prefix
  70. matrix_postmoogle_prefix: '!pm'
  71. # Max email size in megabytes, including attachments
  72. matrix_postmoogle_maxsize: '1024'
  73. # Optional SMTP relay mode
  74. matrix_postmoogle_relay_host: ''
  75. matrix_postmoogle_relay_port: ''
  76. matrix_postmoogle_relay_username: ''
  77. matrix_postmoogle_relay_password: ''
  78. # A list of admins
  79. # Example set of rules:
  80. # matrix_postmoogle_admins:
  81. # - '@alice:example.com'
  82. # - '@bob:example.com'
  83. # - '@bot.*:example.com'
  84. # - '@*:example.net'
  85. matrix_postmoogle_admins: "{{ [matrix_admin] if matrix_admin else [] }}"
  86. # Sentry DSN. Deprecated, use matrix_postmoogle_monitoring_sentry_dsn
  87. matrix_postmoogle_sentry: ''
  88. # Sentry integration
  89. matrix_postmoogle_monitoring_sentry_dsn: "{{ matrix_postmoogle_sentry }}"
  90. matrix_postmoogle_monitoring_sentry_rate: 20
  91. # healthchecks.io integration
  92. matrix_postmoogle_monitoring_healthchecks_uuid: ''
  93. matrix_postmoogle_monitoring_healthchecks_duration: 60
  94. # Log level
  95. matrix_postmoogle_loglevel: 'INFO'
  96. # deprecated, use matrix_postmoogle_domains
  97. matrix_postmoogle_domain: "{{ matrix_server_fqn_matrix }}"
  98. matrix_postmoogle_domains:
  99. - "{{ matrix_postmoogle_domain }}" # backward compatibility
  100. # Password (passphrase) to encrypt account data
  101. matrix_postmoogle_data_secret: ""
  102. # in-container ports
  103. matrix_postmoogle_port: '2525'
  104. matrix_postmoogle_tls_port: '25587'
  105. # on-host ports
  106. matrix_postmoogle_smtp_host_bind_port: '25'
  107. matrix_postmoogle_submission_host_bind_port: '587'
  108. ### SSL
  109. ## on-host SSL dir
  110. matrix_postmoogle_ssl_path: ""
  111. ## in-container SSL paths
  112. # matrix_postmoogle_tls_cert is the SSL certificates' certificates.
  113. # This var is likely set via group_vars/matrix_servers, so you don't need to set certs manually.
  114. # If you do need to set it manually, note that this is an in-container path.
  115. # To mount a certificates volumes into the container, use matrix_postmoogle_ssl_path
  116. # Example value: /ssl/live/{{ matrix_postmoogle_domain }}/fullchain.pem
  117. matrix_postmoogle_tls_cert: ""
  118. # matrix_postmoogle_tls_key is the SSL certificates' keys.
  119. # This var is likely set via group_vars/matrix_servers, so you don't need to set keys manually.
  120. # If you do need to set it manually, note that this is an in-container path.
  121. # To mount a certificates volumes into the container, use matrix_postmoogle_ssl_path
  122. # Example value: /ssl/live/{{ matrix_postmoogle_domain }}/privkey.pem
  123. matrix_postmoogle_tls_key: ""
  124. # Mandatory TLS, even on plain SMTP port
  125. matrix_postmoogle_tls_required: false
  126. # trusted proxies
  127. matrix_postmoogle_proxies: []
  128. # known forwarders
  129. matrix_postmoogle_mailboxes_forwarded: []
  130. # reserved mailboxes
  131. matrix_postmoogle_mailboxes_reserved: []
  132. # mailbox activation flow
  133. matrix_postmoogle_mailboxes_activation: none
  134. # Additional environment variables to pass to the postmoogle container
  135. #
  136. # Example:
  137. # matrix_postmoogle_environment_variables_extension: |
  138. # postmoogle_TEXT_DONE=Done
  139. matrix_postmoogle_environment_variables_extension: ''