Matrix Docker Ansible eploy
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 

172 řádky
6.6 KiB

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