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

111 lines
3.8 KiB

  1. ---
  2. # honoroit is a helpdesk bot
  3. # See: 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_src_files_path: "{{ matrix_base_data_path }}/honoroit/docker-src"
  8. matrix_bot_honoroit_version: v0.9.4
  9. matrix_bot_honoroit_docker_image: "{{ matrix_bot_honoroit_docker_image_name_prefix }}honoroit:{{ matrix_bot_honoroit_version }}"
  10. matrix_bot_honoroit_docker_image_name_prefix: "{{ 'localhost/' if matrix_bot_honoroit_container_image_self_build else 'registry.gitlab.com/etke.cc/' }}"
  11. matrix_bot_honoroit_docker_image_force_pull: "{{ matrix_bot_honoroit_docker_image.endswith(':latest') }}"
  12. matrix_bot_honoroit_base_path: "{{ matrix_base_data_path }}/honoroit"
  13. matrix_bot_honoroit_config_path: "{{ matrix_bot_honoroit_base_path }}/config"
  14. matrix_bot_honoroit_data_path: "{{ matrix_bot_honoroit_base_path }}/data"
  15. matrix_bot_honoroit_data_store_path: "{{ matrix_bot_honoroit_data_path }}/store"
  16. # A list of extra arguments to pass to the container
  17. matrix_bot_honoroit_container_extra_arguments: []
  18. # List of systemd services that matrix-bot-honoroit.service depends on
  19. matrix_bot_honoroit_systemd_required_services_list: ['docker.service']
  20. # List of systemd services that matrix-bot-honoroit.service wants
  21. matrix_bot_honoroit_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_honoroit_database_engine: 'postgres'`)
  28. # - adjust your database credentials via the `matrix_bot_honoroit_database_*` variables
  29. matrix_bot_honoroit_database_engine: 'sqlite'
  30. matrix_bot_honoroit_sqlite_database_path_local: "{{ matrix_bot_honoroit_data_path }}/bot.db"
  31. matrix_bot_honoroit_sqlite_database_path_in_container: "/data/bot.db"
  32. matrix_bot_honoroit_database_username: 'honoroit'
  33. matrix_bot_honoroit_database_password: 'some-password'
  34. matrix_bot_honoroit_database_hostname: 'matrix-postgres'
  35. matrix_bot_honoroit_database_port: 5432
  36. matrix_bot_honoroit_database_name: 'honoroit'
  37. 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'
  38. matrix_bot_honoroit_storage_database: "{{
  39. {
  40. 'sqlite': matrix_bot_honoroit_sqlite_database_path_in_container,
  41. 'postgres': matrix_bot_honoroit_database_connection_string,
  42. }[matrix_bot_honoroit_database_engine]
  43. }}"
  44. matrix_bot_honoroit_database_dialect: "{{
  45. {
  46. 'sqlite': 'sqlite3',
  47. 'postgres': 'postgres',
  48. }[matrix_bot_honoroit_database_engine]
  49. }}"
  50. # The bot's username. This user needs to be created manually beforehand.
  51. # Also see `matrix_bot_honoroit_password`.
  52. matrix_bot_honoroit_login: "honoroit"
  53. # The password that the bot uses to authenticate.
  54. matrix_bot_honoroit_password: ''
  55. matrix_bot_honoroit_homeserver: "{{ matrix_homeserver_container_url }}"
  56. # The room ID where bot will create threads
  57. matrix_bot_honoroit_roomid: ''
  58. # Command prefix
  59. matrix_bot_honoroit_prefix: ''
  60. # Sentry DSN
  61. matrix_bot_honoroit_sentry: ''
  62. # Log level
  63. matrix_bot_honoroit_loglevel: ''
  64. # Text prefix: open
  65. matrix_bot_honoroit_text_prefix_open: ''
  66. # Text prefix: done
  67. matrix_bot_honoroit_text_prefix_done: ''
  68. # Text: greetings
  69. matrix_bot_honoroit_text_greetings: ''
  70. # Text: error
  71. matrix_bot_honoroit_text_error: ''
  72. # Text: empty room
  73. matrix_bot_honoroit_text_emptyroom: ''
  74. # Text: done
  75. matrix_bot_honoroit_text_done: ''
  76. # Additional environment variables to pass to the Honoroit container
  77. #
  78. # Example:
  79. # matrix_bot_honoroit_environment_variables_extension: |
  80. # HONOROIT_TEXT_DONE=Done
  81. matrix_bot_honoroit_environment_variables_extension: ''