Matrix Docker Ansible eploy
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 

220 lignes
9.3 KiB

  1. ---
  2. # honoroit is a helpdesk bot
  3. # Project source code URL: https://github.com/etkecc/honoroit
  4. matrix_bot_honoroit_enabled: true
  5. # The hostname at which honoroit is served.
  6. matrix_bot_honoroit_hostname: ''
  7. # The path at which honoroit is exposed.
  8. # This value must either be `/` or not end with a slash (e.g. `/honoroit`).
  9. matrix_bot_honoroit_path_prefix: /
  10. # The path at which honoroit will expose metrics
  11. # This value must either be `/` or not end with a slash (e.g. `/metrics`).
  12. matrix_bot_honoroit_metrics_path: /metrics
  13. matrix_bot_honoroit_container_image_self_build: false
  14. matrix_bot_honoroit_docker_repo: "https://github.com/etkecc/honoroit.git"
  15. matrix_bot_honoroit_docker_repo_version: "{{ matrix_bot_honoroit_version }}"
  16. matrix_bot_honoroit_docker_src_files_path: "{{ matrix_base_data_path }}/honoroit/docker-src"
  17. # renovate: datasource=docker depName=ghcr.io/etkecc/honoroit
  18. matrix_bot_honoroit_version: v0.9.26
  19. matrix_bot_honoroit_docker_image: "{{ matrix_bot_honoroit_docker_image_name_prefix }}etkecc/honoroit:{{ matrix_bot_honoroit_version }}"
  20. matrix_bot_honoroit_docker_image_name_prefix: "{{ 'localhost/' if matrix_bot_honoroit_container_image_self_build else 'ghcr.io/' }}"
  21. matrix_bot_honoroit_docker_image_force_pull: "{{ matrix_bot_honoroit_docker_image.endswith(':latest') }}"
  22. matrix_bot_honoroit_base_path: "{{ matrix_base_data_path }}/honoroit"
  23. matrix_bot_honoroit_config_path: "{{ matrix_bot_honoroit_base_path }}/config"
  24. matrix_bot_honoroit_data_path: "{{ matrix_bot_honoroit_base_path }}/data"
  25. matrix_bot_honoroit_data_store_path: "{{ matrix_bot_honoroit_data_path }}/store"
  26. # The base container network. It will be auto-created by this role if it doesn't exist already.
  27. matrix_bot_honoroit_container_network: ""
  28. # A list of additional container networks that the container would be connected to.
  29. # The role does not create these networks, so make sure they already exist.
  30. # Use this to expose this container to another reverse proxy, which runs in a different container network.
  31. matrix_bot_honoroit_container_additional_networks: []
  32. # matrix_bot_honoroit_container_labels_traefik_enabled controls whether labels to assist a Traefik reverse-proxy will be attached to the container.
  33. # See `../templates/labels.j2` for details.
  34. #
  35. # To inject your own other container labels, see `matrix_bot_honoroit_container_labels_additional_labels`.
  36. matrix_bot_honoroit_container_labels_traefik_enabled: true
  37. matrix_bot_honoroit_container_labels_traefik_docker_network: "{{ matrix_bot_honoroit_container_network }}"
  38. matrix_bot_honoroit_container_labels_traefik_hostname: "{{ matrix_bot_honoroit_hostname }}"
  39. # The path prefix must either be `/` or not end with a slash (e.g. `/honoroit`).
  40. matrix_bot_honoroit_container_labels_traefik_path_prefix: "{{ matrix_bot_honoroit_path_prefix }}"
  41. matrix_bot_honoroit_container_labels_traefik_metrics_path: "{{ '' if matrix_bot_honoroit_path_prefix == '/' else matrix_bot_honoroit_path_prefix }}{{ matrix_bot_honoroit_metrics_path }}"
  42. matrix_bot_honoroit_container_labels_traefik_metrics_rule: "Host(`{{ matrix_bot_honoroit_container_labels_traefik_hostname }}`) && Path(`{{ matrix_bot_honoroit_container_labels_traefik_metrics_path }}`)"
  43. matrix_bot_honoroit_container_labels_traefik_priority: 0
  44. matrix_bot_honoroit_container_labels_traefik_entrypoints: web-secure
  45. matrix_bot_honoroit_container_labels_traefik_tls: "{{ matrix_bot_honoroit_container_labels_traefik_entrypoints != 'web' }}"
  46. matrix_bot_honoroit_container_labels_traefik_tls_certResolver: default # noqa var-naming
  47. # Controls which additional headers to attach to all HTTP responses.
  48. # To add your own headers, use `matrix_bot_honoroit_container_labels_traefik_additional_response_headers_custom`
  49. matrix_bot_honoroit_container_labels_traefik_additional_response_headers: "{{ matrix_bot_honoroit_container_labels_traefik_additional_response_headers_auto | combine(matrix_bot_honoroit_container_labels_traefik_additional_response_headers_custom) }}"
  50. matrix_bot_honoroit_container_labels_traefik_additional_response_headers_auto: {}
  51. matrix_bot_honoroit_container_labels_traefik_additional_response_headers_custom: {}
  52. # matrix_bot_honoroit_container_labels_additional_labels contains a multiline string with additional labels to add to the container label file.
  53. # See `../templates/labels.j2` for details.
  54. #
  55. # Example:
  56. # matrix_bot_honoroit_container_labels_additional_labels: |
  57. # my.label=1
  58. # another.label="here"
  59. matrix_bot_honoroit_container_labels_additional_labels: ''
  60. # A list of extra arguments to pass to the container
  61. matrix_bot_honoroit_container_extra_arguments: []
  62. # List of systemd services that matrix-bot-honoroit.service depends on
  63. matrix_bot_honoroit_systemd_required_services_list: "{{ matrix_bot_honoroit_systemd_required_services_list_default + matrix_bot_honoroit_systemd_required_services_list_auto + matrix_bot_honoroit_systemd_required_services_list_custom }}"
  64. matrix_bot_honoroit_systemd_required_services_list_default: "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
  65. matrix_bot_honoroit_systemd_required_services_list_auto: []
  66. matrix_bot_honoroit_systemd_required_services_list_custom: []
  67. # List of systemd services that matrix-bot-honoroit.service wants
  68. matrix_bot_honoroit_systemd_wanted_services_list: []
  69. # Database-related configuration fields.
  70. #
  71. # To use SQLite, stick to these defaults.
  72. #
  73. # To use Postgres:
  74. # - change the engine (`matrix_bot_honoroit_database_engine: 'postgres'`)
  75. # - adjust your database credentials via the `matrix_bot_honoroit_database_*` variables
  76. matrix_bot_honoroit_database_engine: 'sqlite'
  77. matrix_bot_honoroit_sqlite_database_path_local: "{{ matrix_bot_honoroit_data_path }}/bot.db"
  78. matrix_bot_honoroit_sqlite_database_path_in_container: "/data/bot.db"
  79. matrix_bot_honoroit_database_username: 'honoroit'
  80. matrix_bot_honoroit_database_password: 'some-password'
  81. matrix_bot_honoroit_database_hostname: ''
  82. matrix_bot_honoroit_database_port: 5432
  83. matrix_bot_honoroit_database_name: 'honoroit'
  84. matrix_bot_honoroit_database_sslmode: disable
  85. 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={{ matrix_bot_honoroit_database_sslmode }}'
  86. matrix_bot_honoroit_storage_database: "{{
  87. {
  88. 'sqlite': matrix_bot_honoroit_sqlite_database_path_in_container,
  89. 'postgres': matrix_bot_honoroit_database_connection_string,
  90. }[matrix_bot_honoroit_database_engine]
  91. }}"
  92. matrix_bot_honoroit_database_dialect: "{{
  93. {
  94. 'sqlite': 'sqlite3',
  95. 'postgres': 'postgres',
  96. }[matrix_bot_honoroit_database_engine]
  97. }}"
  98. # The bot's username. This user needs to be created manually beforehand.
  99. # Also see `matrix_bot_honoroit_password`.
  100. matrix_bot_honoroit_login: "honoroit"
  101. # The password that the bot uses to authenticate.
  102. matrix_bot_honoroit_password: ''
  103. matrix_bot_honoroit_homeserver: ""
  104. # The room ID where bot will create threads
  105. matrix_bot_honoroit_roomid: ''
  106. # Command prefix
  107. matrix_bot_honoroit_prefix: ''
  108. # Sentry DSN
  109. matrix_bot_honoroit_sentry: ''
  110. # Log level
  111. matrix_bot_honoroit_loglevel: ''
  112. # /metrics basic auth login
  113. matrix_bot_honoroit_auth_metrics_login: ''
  114. # /metrics basic auth password
  115. matrix_bot_honoroit_auth_metrics_password: ''
  116. # /metrics basic auth allowed IPs
  117. matrix_bot_honoroit_auth_metrics_ips: []
  118. # Optional healthchecks.io integration
  119. matrix_bot_honoroit_healthchecks_url: 'https://hc-ping.com'
  120. matrix_bot_honoroit_healthchecks_uuid: ''
  121. matrix_bot_honoroit_healthchecks_duration: 60 # in seconds
  122. # Optional Redmine integration
  123. matrix_bot_honoroit_redmine_host: '' # e.g. https://redmine.example.com
  124. matrix_bot_honoroit_redmine_apikey: ''
  125. matrix_bot_honoroit_redmine_project: '' # project identifier (e.g. 'myproject')
  126. matrix_bot_honoroit_redmine_tracker_id: '' # tracker ID (e.g. 1)
  127. matrix_bot_honoroit_redmine_new_status_id: '' # new status ID (e.g. 1)
  128. matrix_bot_honoroit_redmine_in_progress_status_id: '' # in progress status ID (e.g. 2)
  129. matrix_bot_honoroit_redmine_done_status_id: '' # done status ID (e.g. 3)
  130. # A list of whitelisted users allowed to use/invite honoroit
  131. # If not defined, everyone is allowed.
  132. # Example set of rules:
  133. # matrix_bot_honoroit_allowedusers:
  134. # - @someone:example.com
  135. # - @another:example.com
  136. # - @bot.*:example.com
  137. # - @*:example.net
  138. matrix_bot_honoroit_allowedusers:
  139. - "@*:*"
  140. # Max items in cache
  141. matrix_bot_honoroit_cachesize: ''
  142. # List of ignored room IDs
  143. matrix_bot_honoroit_ignoredrooms: []
  144. # Ignore messages outside of threads
  145. matrix_bot_honoroit_ignorenothread: false
  146. # Text prefix: open
  147. matrix_bot_honoroit_text_prefix_open: ''
  148. # Text prefix: done
  149. matrix_bot_honoroit_text_prefix_done: ''
  150. # Text: no encryption
  151. matrix_bot_honoroit_text_noencryption: ''
  152. # Text: greetings
  153. matrix_bot_honoroit_text_greetings: ''
  154. # Text: invite
  155. matrix_bot_honoroit_text_invite: ''
  156. # Text: join
  157. matrix_bot_honoroit_text_join: ''
  158. # Text: leave
  159. matrix_bot_honoroit_text_leave: ''
  160. # Text: error
  161. matrix_bot_honoroit_text_error: ''
  162. # Text: empty room
  163. matrix_bot_honoroit_text_emptyroom: ''
  164. # Text: done
  165. matrix_bot_honoroit_text_done: ''
  166. # Additional environment variables to pass to the Honoroit container
  167. #
  168. # Example:
  169. # matrix_bot_honoroit_environment_variables_extension: |
  170. # HONOROIT_TEXT_DONE=Done
  171. matrix_bot_honoroit_environment_variables_extension: ''