Matrix Docker Ansible eploy
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 

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