Matrix Docker Ansible eploy
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

97 wiersze
3.7 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: "{{ matrix_bot_postmoogle_version }}"
  8. matrix_bot_postmoogle_docker_src_files_path: "{{ matrix_base_data_path }}/postmoogle/docker-src"
  9. matrix_bot_postmoogle_version: latest
  10. matrix_bot_postmoogle_docker_image: "{{ matrix_bot_postmoogle_docker_image_name_prefix }}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/etke.cc/' }}"
  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: 'matrix-postgres'
  35. matrix_bot_postmoogle_database_port: 5432
  36. matrix_bot_postmoogle_database_name: 'postmoogle'
  37. 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=disable'
  38. matrix_bot_postmoogle_storage_database: "{{
  39. {
  40. 'sqlite': matrix_bot_postmoogle_sqlite_database_path_in_container,
  41. 'postgres': matrix_bot_postmoogle_database_connection_string,
  42. }[matrix_bot_postmoogle_database_engine]
  43. }}"
  44. matrix_bot_postmoogle_database_dialect: "{{
  45. {
  46. 'sqlite': 'sqlite3',
  47. 'postgres': 'postgres',
  48. }[matrix_bot_postmoogle_database_engine]
  49. }}"
  50. # The bot's username. This user needs to be created manually beforehand.
  51. # Also see `matrix_bot_postmoogle_password`.
  52. matrix_bot_postmoogle_login: "postmoogle"
  53. # The password that the bot uses to authenticate.
  54. matrix_bot_postmoogle_password: ''
  55. matrix_bot_postmoogle_homeserver: "{{ matrix_homeserver_container_url }}"
  56. # Command prefix
  57. matrix_bot_postmoogle_prefix: ''
  58. # Sentry DSN
  59. matrix_bot_postmoogle_sentry: ''
  60. # Log level
  61. matrix_bot_postmoogle_loglevel: ''
  62. # Disable encryption
  63. matrix_bot_postmoogle_noencryption: false
  64. matrix_bot_postmoogle_domain: "{{ matrix_server_fqn_matrix }}"
  65. matrix_bot_postmoogle_port: "25"
  66. # Additional environment variables to pass to the postmoogle container
  67. #
  68. # Example:
  69. # matrix_bot_postmoogle_environment_variables_extension: |
  70. # postmoogle_TEXT_DONE=Done
  71. matrix_bot_postmoogle_environment_variables_extension: ''