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.
 
 

104 wiersze
3.7 KiB

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