Matrix Docker Ansible eploy
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

147 linhas
4.7 KiB

  1. ---
  2. # honoroit is a helpdesk bot
  3. # Project source code URL: https://gitlab.com/etke.cc/honoroit
  4. matrix_bot_honoroit_enabled: true
  5. matrix_bot_honoroit_container_image_self_build: false
  6. matrix_bot_honoroit_docker_repo: "https://gitlab.com/etke.cc/honoroit.git"
  7. matrix_bot_honoroit_docker_repo_version: "{{ matrix_bot_honoroit_version }}"
  8. matrix_bot_honoroit_docker_src_files_path: "{{ matrix_base_data_path }}/honoroit/docker-src"
  9. matrix_bot_honoroit_version: v0.9.16
  10. matrix_bot_honoroit_docker_image: "{{ matrix_bot_honoroit_docker_image_name_prefix }}etke.cc/honoroit:{{ matrix_bot_honoroit_version }}"
  11. matrix_bot_honoroit_docker_image_name_prefix: "{{ 'localhost/' if matrix_bot_honoroit_container_image_self_build else 'registry.gitlab.com/' }}"
  12. matrix_bot_honoroit_docker_image_force_pull: "{{ matrix_bot_honoroit_docker_image.endswith(':latest') }}"
  13. matrix_bot_honoroit_base_path: "{{ matrix_base_data_path }}/honoroit"
  14. matrix_bot_honoroit_config_path: "{{ matrix_bot_honoroit_base_path }}/config"
  15. matrix_bot_honoroit_data_path: "{{ matrix_bot_honoroit_base_path }}/data"
  16. matrix_bot_honoroit_data_store_path: "{{ matrix_bot_honoroit_data_path }}/store"
  17. # A list of extra arguments to pass to the container
  18. matrix_bot_honoroit_container_extra_arguments: []
  19. # List of systemd services that matrix-bot-honoroit.service depends on
  20. matrix_bot_honoroit_systemd_required_services_list: ['docker.service']
  21. # List of systemd services that matrix-bot-honoroit.service wants
  22. matrix_bot_honoroit_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_honoroit_database_engine: 'postgres'`)
  29. # - adjust your database credentials via the `matrix_bot_honoroit_database_*` variables
  30. matrix_bot_honoroit_database_engine: 'sqlite'
  31. matrix_bot_honoroit_sqlite_database_path_local: "{{ matrix_bot_honoroit_data_path }}/bot.db"
  32. matrix_bot_honoroit_sqlite_database_path_in_container: "/data/bot.db"
  33. matrix_bot_honoroit_database_username: 'honoroit'
  34. matrix_bot_honoroit_database_password: 'some-password'
  35. matrix_bot_honoroit_database_hostname: ''
  36. matrix_bot_honoroit_database_port: 5432
  37. matrix_bot_honoroit_database_name: 'honoroit'
  38. matrix_bot_honoroit_database_connection_string: 'postgres://{{ matrix_bot_honoroit_database_username }}:{{ matrix_bot_honoroit_database_password }}@{{ matrix_bot_honoroit_database_hostname }}:{{ matrix_bot_honoroit_database_port }}/{{ matrix_bot_honoroit_database_name }}?sslmode=disable'
  39. matrix_bot_honoroit_storage_database: "{{
  40. {
  41. 'sqlite': matrix_bot_honoroit_sqlite_database_path_in_container,
  42. 'postgres': matrix_bot_honoroit_database_connection_string,
  43. }[matrix_bot_honoroit_database_engine]
  44. }}"
  45. matrix_bot_honoroit_database_dialect: "{{
  46. {
  47. 'sqlite': 'sqlite3',
  48. 'postgres': 'postgres',
  49. }[matrix_bot_honoroit_database_engine]
  50. }}"
  51. # The bot's username. This user needs to be created manually beforehand.
  52. # Also see `matrix_bot_honoroit_password`.
  53. matrix_bot_honoroit_login: "honoroit"
  54. # The password that the bot uses to authenticate.
  55. matrix_bot_honoroit_password: ''
  56. matrix_bot_honoroit_homeserver: "{{ matrix_homeserver_container_url }}"
  57. # The room ID where bot will create threads
  58. matrix_bot_honoroit_roomid: ''
  59. # Command prefix
  60. matrix_bot_honoroit_prefix: ''
  61. # Sentry DSN
  62. matrix_bot_honoroit_sentry: ''
  63. # Log level
  64. matrix_bot_honoroit_loglevel: ''
  65. # Disable encryption
  66. matrix_bot_honoroit_noencryption: false
  67. # A list of whitelisted users allowed to use/invite honoroit
  68. # If not defined, everyone is allowed.
  69. # Example set of rules:
  70. # matrix_bot_honoroit_allowedusers:
  71. # - @someone:example.com
  72. # - @another:example.com
  73. # - @bot.*:example.com
  74. # - @*:another.com
  75. matrix_bot_honoroit_allowedusers:
  76. - "@*:*"
  77. # Max items in cache
  78. matrix_bot_honoroit_cachesize: ''
  79. # List of ignored room IDs
  80. matrix_bot_honoroit_ignoredrooms: []
  81. # Ignore messages outside of threads
  82. matrix_bot_honoroit_ignorenothread: false
  83. # Text prefix: open
  84. matrix_bot_honoroit_text_prefix_open: ''
  85. # Text prefix: done
  86. matrix_bot_honoroit_text_prefix_done: ''
  87. # Text: no encryption
  88. matrix_bot_honoroit_text_noencryption: ''
  89. # Text: greetings
  90. matrix_bot_honoroit_text_greetings: ''
  91. # Text: invite
  92. matrix_bot_honoroit_text_invite: ''
  93. # Text: join
  94. matrix_bot_honoroit_text_join: ''
  95. # Text: leave
  96. matrix_bot_honoroit_text_leave: ''
  97. # Text: error
  98. matrix_bot_honoroit_text_error: ''
  99. # Text: empty room
  100. matrix_bot_honoroit_text_emptyroom: ''
  101. # Text: done
  102. matrix_bot_honoroit_text_done: ''
  103. # Additional environment variables to pass to the Honoroit container
  104. #
  105. # Example:
  106. # matrix_bot_honoroit_environment_variables_extension: |
  107. # HONOROIT_TEXT_DONE=Done
  108. matrix_bot_honoroit_environment_variables_extension: ''