Matrix Docker Ansible eploy
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

136 lines
4.4 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.12
  10. matrix_bot_honoroit_docker_image: "{{ matrix_bot_honoroit_docker_image_name_prefix }}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/etke.cc/' }}"
  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: 'matrix-postgres'
  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. # Max items in cache
  68. matrix_bot_honoroit_cachesize: ''
  69. # List of ignored room IDs
  70. matrix_bot_honoroit_ignoredrooms: []
  71. # Ignore messages outside of threads
  72. matrix_bot_honoroit_ignorenothread: false
  73. # Text prefix: open
  74. matrix_bot_honoroit_text_prefix_open: ''
  75. # Text prefix: done
  76. matrix_bot_honoroit_text_prefix_done: ''
  77. # Text: no encryption
  78. matrix_bot_honoroit_text_noencryption: ''
  79. # Text: greetings
  80. matrix_bot_honoroit_text_greetings: ''
  81. # Text: invite
  82. matrix_bot_honoroit_text_invite: ''
  83. # Text: join
  84. matrix_bot_honoroit_text_join: ''
  85. # Text: leave
  86. matrix_bot_honoroit_text_leave: ''
  87. # Text: error
  88. matrix_bot_honoroit_text_error: ''
  89. # Text: empty room
  90. matrix_bot_honoroit_text_emptyroom: ''
  91. # Text: done
  92. matrix_bot_honoroit_text_done: ''
  93. # Additional environment variables to pass to the Honoroit container
  94. #
  95. # Example:
  96. # matrix_bot_honoroit_environment_variables_extension: |
  97. # HONOROIT_TEXT_DONE=Done
  98. matrix_bot_honoroit_environment_variables_extension: ''