2022-02-05 21:32:54 +01:00
|
|
|
---
|
2024-10-26 18:58:08 +02:00
|
|
|
# Honoroit is a helpdesk bot
|
2024-09-07 01:43:00 +02:00
|
|
|
# Project source code URL: https://github.com/etkecc/honoroit
|
2022-01-06 19:30:10 +01:00
|
|
|
|
|
|
|
matrix_bot_honoroit_enabled: true
|
|
|
|
|
2024-10-26 18:58:08 +02:00
|
|
|
# The hostname at which Honoroit is served.
|
2023-03-23 18:06:16 +01:00
|
|
|
matrix_bot_honoroit_hostname: ''
|
|
|
|
|
2024-10-26 18:58:08 +02:00
|
|
|
# The path at which Honoroit is exposed.
|
2023-03-23 18:06:16 +01:00
|
|
|
# This value must either be `/` or not end with a slash (e.g. `/honoroit`).
|
|
|
|
matrix_bot_honoroit_path_prefix: /
|
|
|
|
|
2024-10-26 18:58:08 +02:00
|
|
|
# The path at which Honoroit will expose metrics
|
2023-04-21 11:45:32 +02:00
|
|
|
# This value must either be `/` or not end with a slash (e.g. `/metrics`).
|
|
|
|
matrix_bot_honoroit_metrics_path: /metrics
|
|
|
|
|
2022-01-07 10:53:24 +01:00
|
|
|
matrix_bot_honoroit_container_image_self_build: false
|
2024-09-07 01:43:00 +02:00
|
|
|
matrix_bot_honoroit_docker_repo: "https://github.com/etkecc/honoroit.git"
|
2022-07-18 13:43:52 +02:00
|
|
|
matrix_bot_honoroit_docker_repo_version: "{{ matrix_bot_honoroit_version }}"
|
2022-01-06 19:30:10 +01:00
|
|
|
matrix_bot_honoroit_docker_src_files_path: "{{ matrix_base_data_path }}/honoroit/docker-src"
|
|
|
|
|
2024-08-21 20:16:49 +02:00
|
|
|
# renovate: datasource=docker depName=ghcr.io/etkecc/honoroit
|
2024-09-09 10:23:59 +02:00
|
|
|
matrix_bot_honoroit_version: v0.9.26
|
2024-08-21 20:16:49 +02:00
|
|
|
matrix_bot_honoroit_docker_image: "{{ matrix_bot_honoroit_docker_image_name_prefix }}etkecc/honoroit:{{ matrix_bot_honoroit_version }}"
|
|
|
|
matrix_bot_honoroit_docker_image_name_prefix: "{{ 'localhost/' if matrix_bot_honoroit_container_image_self_build else 'ghcr.io/' }}"
|
2022-01-06 19:30:10 +01:00
|
|
|
matrix_bot_honoroit_docker_image_force_pull: "{{ matrix_bot_honoroit_docker_image.endswith(':latest') }}"
|
|
|
|
|
|
|
|
matrix_bot_honoroit_base_path: "{{ matrix_base_data_path }}/honoroit"
|
|
|
|
matrix_bot_honoroit_config_path: "{{ matrix_bot_honoroit_base_path }}/config"
|
|
|
|
matrix_bot_honoroit_data_path: "{{ matrix_bot_honoroit_base_path }}/data"
|
|
|
|
matrix_bot_honoroit_data_store_path: "{{ matrix_bot_honoroit_data_path }}/store"
|
|
|
|
|
2023-03-23 18:06:16 +01:00
|
|
|
# The base container network. It will be auto-created by this role if it doesn't exist already.
|
2024-01-07 08:30:08 +01:00
|
|
|
matrix_bot_honoroit_container_network: ""
|
2023-03-23 18:06:16 +01:00
|
|
|
|
|
|
|
# A list of additional container networks that the container would be connected to.
|
|
|
|
# The role does not create these networks, so make sure they already exist.
|
|
|
|
# Use this to expose this container to another reverse proxy, which runs in a different container network.
|
|
|
|
matrix_bot_honoroit_container_additional_networks: []
|
|
|
|
|
|
|
|
# matrix_bot_honoroit_container_labels_traefik_enabled controls whether labels to assist a Traefik reverse-proxy will be attached to the container.
|
|
|
|
# See `../templates/labels.j2` for details.
|
|
|
|
#
|
|
|
|
# To inject your own other container labels, see `matrix_bot_honoroit_container_labels_additional_labels`.
|
|
|
|
matrix_bot_honoroit_container_labels_traefik_enabled: true
|
|
|
|
matrix_bot_honoroit_container_labels_traefik_docker_network: "{{ matrix_bot_honoroit_container_network }}"
|
|
|
|
matrix_bot_honoroit_container_labels_traefik_hostname: "{{ matrix_bot_honoroit_hostname }}"
|
|
|
|
# The path prefix must either be `/` or not end with a slash (e.g. `/honoroit`).
|
|
|
|
matrix_bot_honoroit_container_labels_traefik_path_prefix: "{{ matrix_bot_honoroit_path_prefix }}"
|
2023-05-18 09:09:07 +02:00
|
|
|
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 }}"
|
2023-04-21 11:45:32 +02:00
|
|
|
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 }}`)"
|
2023-03-23 18:06:16 +01:00
|
|
|
matrix_bot_honoroit_container_labels_traefik_priority: 0
|
|
|
|
matrix_bot_honoroit_container_labels_traefik_entrypoints: web-secure
|
|
|
|
matrix_bot_honoroit_container_labels_traefik_tls: "{{ matrix_bot_honoroit_container_labels_traefik_entrypoints != 'web' }}"
|
|
|
|
matrix_bot_honoroit_container_labels_traefik_tls_certResolver: default # noqa var-naming
|
|
|
|
|
|
|
|
# Controls which additional headers to attach to all HTTP responses.
|
|
|
|
# To add your own headers, use `matrix_bot_honoroit_container_labels_traefik_additional_response_headers_custom`
|
|
|
|
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) }}"
|
|
|
|
matrix_bot_honoroit_container_labels_traefik_additional_response_headers_auto: {}
|
|
|
|
matrix_bot_honoroit_container_labels_traefik_additional_response_headers_custom: {}
|
|
|
|
|
2023-03-23 19:17:11 +01:00
|
|
|
# matrix_bot_honoroit_container_labels_additional_labels contains a multiline string with additional labels to add to the container label file.
|
2023-03-23 18:06:16 +01:00
|
|
|
# See `../templates/labels.j2` for details.
|
|
|
|
#
|
|
|
|
# Example:
|
2023-03-23 19:17:11 +01:00
|
|
|
# matrix_bot_honoroit_container_labels_additional_labels: |
|
2023-03-23 18:06:16 +01:00
|
|
|
# my.label=1
|
|
|
|
# another.label="here"
|
2023-03-23 19:17:11 +01:00
|
|
|
matrix_bot_honoroit_container_labels_additional_labels: ''
|
2023-03-23 18:06:16 +01:00
|
|
|
|
2022-01-06 19:30:10 +01:00
|
|
|
# A list of extra arguments to pass to the container
|
|
|
|
matrix_bot_honoroit_container_extra_arguments: []
|
|
|
|
|
|
|
|
# List of systemd services that matrix-bot-honoroit.service depends on
|
2024-01-07 08:30:08 +01:00
|
|
|
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 }}"
|
2024-06-04 12:14:34 +02:00
|
|
|
matrix_bot_honoroit_systemd_required_services_list_default: "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
|
2024-01-07 08:30:08 +01:00
|
|
|
matrix_bot_honoroit_systemd_required_services_list_auto: []
|
|
|
|
matrix_bot_honoroit_systemd_required_services_list_custom: []
|
2022-01-06 19:30:10 +01:00
|
|
|
|
|
|
|
# List of systemd services that matrix-bot-honoroit.service wants
|
|
|
|
matrix_bot_honoroit_systemd_wanted_services_list: []
|
|
|
|
|
|
|
|
|
|
|
|
# Database-related configuration fields.
|
|
|
|
#
|
|
|
|
# To use SQLite, stick to these defaults.
|
|
|
|
#
|
|
|
|
# To use Postgres:
|
|
|
|
# - change the engine (`matrix_bot_honoroit_database_engine: 'postgres'`)
|
|
|
|
# - adjust your database credentials via the `matrix_bot_honoroit_database_*` variables
|
|
|
|
matrix_bot_honoroit_database_engine: 'sqlite'
|
|
|
|
|
|
|
|
matrix_bot_honoroit_sqlite_database_path_local: "{{ matrix_bot_honoroit_data_path }}/bot.db"
|
|
|
|
matrix_bot_honoroit_sqlite_database_path_in_container: "/data/bot.db"
|
|
|
|
|
|
|
|
matrix_bot_honoroit_database_username: 'honoroit'
|
|
|
|
matrix_bot_honoroit_database_password: 'some-password'
|
2022-11-27 07:23:43 +01:00
|
|
|
matrix_bot_honoroit_database_hostname: ''
|
2022-01-06 19:30:10 +01:00
|
|
|
matrix_bot_honoroit_database_port: 5432
|
|
|
|
matrix_bot_honoroit_database_name: 'honoroit'
|
2023-08-22 18:38:11 +02:00
|
|
|
matrix_bot_honoroit_database_sslmode: disable
|
2022-01-06 19:30:10 +01:00
|
|
|
|
2023-08-22 18:38:11 +02:00
|
|
|
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 }}'
|
2022-01-06 19:30:10 +01:00
|
|
|
|
|
|
|
matrix_bot_honoroit_storage_database: "{{
|
|
|
|
{
|
|
|
|
'sqlite': matrix_bot_honoroit_sqlite_database_path_in_container,
|
|
|
|
'postgres': matrix_bot_honoroit_database_connection_string,
|
|
|
|
}[matrix_bot_honoroit_database_engine]
|
|
|
|
}}"
|
|
|
|
|
|
|
|
matrix_bot_honoroit_database_dialect: "{{
|
|
|
|
{
|
|
|
|
'sqlite': 'sqlite3',
|
|
|
|
'postgres': 'postgres',
|
|
|
|
}[matrix_bot_honoroit_database_engine]
|
|
|
|
}}"
|
|
|
|
|
|
|
|
|
|
|
|
# The bot's username. This user needs to be created manually beforehand.
|
|
|
|
# Also see `matrix_bot_honoroit_password`.
|
|
|
|
matrix_bot_honoroit_login: "honoroit"
|
|
|
|
|
|
|
|
# The password that the bot uses to authenticate.
|
|
|
|
matrix_bot_honoroit_password: ''
|
|
|
|
|
2024-01-07 16:04:23 +01:00
|
|
|
matrix_bot_honoroit_homeserver: ""
|
2022-01-06 19:30:10 +01:00
|
|
|
|
|
|
|
# The room ID where bot will create threads
|
|
|
|
matrix_bot_honoroit_roomid: ''
|
|
|
|
|
|
|
|
# Command prefix
|
|
|
|
matrix_bot_honoroit_prefix: ''
|
|
|
|
|
|
|
|
# Sentry DSN
|
|
|
|
matrix_bot_honoroit_sentry: ''
|
|
|
|
|
|
|
|
# Log level
|
|
|
|
matrix_bot_honoroit_loglevel: ''
|
|
|
|
|
2024-07-07 06:40:55 +02:00
|
|
|
# /metrics basic auth login
|
|
|
|
matrix_bot_honoroit_auth_metrics_login: ''
|
|
|
|
# /metrics basic auth password
|
|
|
|
matrix_bot_honoroit_auth_metrics_password: ''
|
|
|
|
# /metrics basic auth allowed IPs
|
|
|
|
matrix_bot_honoroit_auth_metrics_ips: []
|
|
|
|
|
|
|
|
# Optional healthchecks.io integration
|
|
|
|
matrix_bot_honoroit_healthchecks_url: 'https://hc-ping.com'
|
|
|
|
matrix_bot_honoroit_healthchecks_uuid: ''
|
|
|
|
matrix_bot_honoroit_healthchecks_duration: 60 # in seconds
|
|
|
|
|
|
|
|
# Optional Redmine integration
|
|
|
|
matrix_bot_honoroit_redmine_host: '' # e.g. https://redmine.example.com
|
|
|
|
matrix_bot_honoroit_redmine_apikey: ''
|
|
|
|
matrix_bot_honoroit_redmine_project: '' # project identifier (e.g. 'myproject')
|
2024-10-15 19:24:34 +02:00
|
|
|
matrix_bot_honoroit_redmine_tracker_id: '' # tracker ID (e.g. 1)
|
|
|
|
matrix_bot_honoroit_redmine_new_status_id: '' # new status ID (e.g. 1)
|
|
|
|
matrix_bot_honoroit_redmine_in_progress_status_id: '' # in progress status ID (e.g. 2)
|
|
|
|
matrix_bot_honoroit_redmine_done_status_id: '' # done status ID (e.g. 3)
|
2022-05-31 19:32:10 +02:00
|
|
|
|
2024-10-26 18:58:08 +02:00
|
|
|
# A list of whitelisted users allowed to use/invite a Honoroit bot
|
2022-09-17 22:51:05 +02:00
|
|
|
# If not defined, everyone is allowed.
|
|
|
|
# Example set of rules:
|
2022-09-18 11:03:54 +02:00
|
|
|
# matrix_bot_honoroit_allowedusers:
|
2024-12-08 09:03:37 +01:00
|
|
|
# - @alice:example.com
|
|
|
|
# - @bob:example.com
|
2022-09-17 22:51:05 +02:00
|
|
|
# - @bot.*:example.com
|
2024-10-17 15:58:28 +02:00
|
|
|
# - @*:example.net
|
2022-09-17 22:51:05 +02:00
|
|
|
matrix_bot_honoroit_allowedusers:
|
|
|
|
- "@*:*"
|
|
|
|
|
2022-02-24 19:50:06 +01:00
|
|
|
# Max items in cache
|
|
|
|
matrix_bot_honoroit_cachesize: ''
|
|
|
|
|
2022-07-30 12:24:59 +02:00
|
|
|
# List of ignored room IDs
|
|
|
|
matrix_bot_honoroit_ignoredrooms: []
|
|
|
|
|
2022-08-04 21:02:45 +02:00
|
|
|
# Ignore messages outside of threads
|
|
|
|
matrix_bot_honoroit_ignorenothread: false
|
|
|
|
|
2022-01-19 17:33:51 +01:00
|
|
|
# Text prefix: open
|
|
|
|
matrix_bot_honoroit_text_prefix_open: ''
|
|
|
|
|
|
|
|
# Text prefix: done
|
|
|
|
matrix_bot_honoroit_text_prefix_done: ''
|
|
|
|
|
2022-07-18 20:24:17 +02:00
|
|
|
# Text: no encryption
|
|
|
|
matrix_bot_honoroit_text_noencryption: ''
|
|
|
|
|
2022-01-06 19:30:10 +01:00
|
|
|
# Text: greetings
|
|
|
|
matrix_bot_honoroit_text_greetings: ''
|
|
|
|
|
2022-04-18 18:37:14 +02:00
|
|
|
# Text: invite
|
|
|
|
matrix_bot_honoroit_text_invite: ''
|
|
|
|
|
|
|
|
# Text: join
|
|
|
|
matrix_bot_honoroit_text_join: ''
|
|
|
|
|
|
|
|
# Text: leave
|
|
|
|
matrix_bot_honoroit_text_leave: ''
|
|
|
|
|
2022-01-06 19:30:10 +01:00
|
|
|
# Text: error
|
|
|
|
matrix_bot_honoroit_text_error: ''
|
|
|
|
|
|
|
|
# Text: empty room
|
|
|
|
matrix_bot_honoroit_text_emptyroom: ''
|
|
|
|
|
|
|
|
# Text: done
|
|
|
|
matrix_bot_honoroit_text_done: ''
|
2022-01-07 08:41:52 +01:00
|
|
|
|
|
|
|
# Additional environment variables to pass to the Honoroit container
|
|
|
|
#
|
|
|
|
# Example:
|
|
|
|
# matrix_bot_honoroit_environment_variables_extension: |
|
|
|
|
# HONOROIT_TEXT_DONE=Done
|
|
|
|
matrix_bot_honoroit_environment_variables_extension: ''
|