2022-02-05 22:32:54 +02:00
---
2022-01-03 22:22:42 +02:00
# A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA.
2022-07-16 22:59:21 +02:00
# Project source code URL: https://github.com/matrix-org/matrix-hookshot
2022-01-03 22:22:42 +02:00
matrix_hookshot_enabled : true
2024-01-09 09:56:21 +02:00
matrix_hookshot_identifier : matrix-hookshot
2022-04-03 12:10:46 +02:00
matrix_hookshot_container_image_self_build : false
matrix_hookshot_container_image_self_build_repo : "https://github.com/matrix-org/matrix-hookshot.git"
matrix_hookshot_container_image_self_build_branch : "{{ 'main' if matrix_hookshot_version == 'latest' else matrix_hookshot_version }}"
2023-12-16 09:23:35 +02:00
# Specifies additional networks for the Hookshot container to connect with
matrix_hookshot_container_additional_networks : "{{ matrix_hookshot_container_additional_networks_auto + matrix_hookshot_container_additional_networks_custom }}"
matrix_hookshot_container_additional_networks_auto : [ ]
matrix_hookshot_container_additional_networks_custom : [ ]
2023-10-06 14:14:03 +02:00
# renovate: datasource=docker depName=halfshot/matrix-hookshot
2024-06-21 21:14:12 +02:00
matrix_hookshot_version : 5.4 .1
2022-04-03 12:10:46 +02:00
2022-04-05 14:42:38 +02:00
matrix_hookshot_docker_image : "{{ matrix_hookshot_docker_image_name_prefix }}halfshot/matrix-hookshot:{{ matrix_hookshot_version }}"
2022-04-03 12:10:46 +02:00
matrix_hookshot_docker_image_name_prefix : "{{ 'localhost/' if matrix_hookshot_container_image_self_build else matrix_container_global_registry_prefix }}"
2022-01-03 22:22:42 +02:00
matrix_hookshot_docker_image_force_pull : "{{ matrix_hookshot_docker_image.endswith(':latest') }}"
matrix_hookshot_base_path : "{{ matrix_base_data_path }}/hookshot"
2022-04-03 12:10:46 +02:00
matrix_hookshot_docker_src_files_path : "{{ matrix_hookshot_base_path }}/docker-src"
2024-01-07 17:04:23 +02:00
matrix_hookshot_homeserver_address : ""
2022-01-08 17:51:52 +02:00
matrix_hookshot_container_url : 'matrix-hookshot'
2022-01-03 22:22:42 +02:00
2024-05-25 15:14:26 +02:00
matrix_hookshot_public_scheme : https
2024-01-02 17:10:26 +02:00
matrix_hookshot_public_hostname : "{{ matrix_server_fqn_matrix }}"
2022-01-03 22:22:42 +02:00
matrix_hookshot_public_endpoint : /hookshot
2024-06-25 09:55:08 +02:00
# This is the base URL prefix shared among all endpoints.
#
# It intentionally does not include the path prefix (`matrix_hookshot_public_endpoint`),
# because of how it's used - it's concatenated with paths that already use matrix_hookshot_public_endpoint` within them.
matrix_hookshot_urlprefix : "{{ matrix_hookshot_public_scheme }}://{{ matrix_hookshot_public_hostname }}"
2024-01-02 17:10:26 +02:00
2022-01-30 20:05:49 +02:00
# There is no need to edit ports. use matrix_hookshot_container_http_host_bind_ports below to expose ports instead.
2022-01-06 19:55:36 +02:00
matrix_hookshot_appservice_port : 9993
2024-01-02 17:10:26 +02:00
matrix_hookshot_appservice_hostname : "{{ matrix_hookshot_public_hostname }}"
2022-01-06 19:55:36 +02:00
matrix_hookshot_appservice_endpoint : "{{ matrix_hookshot_public_endpoint }}/_matrix/app"
2024-04-17 14:34:56 +02:00
# The variables below control the Redis cache parameters.
# Using caching is required when experimental encryption is enabled (`matrix_hookshot_experimental_encryption_enabled`)
# but may also speed up Hookshot startup, etc.
matrix_hookshot_cache_redis_host : ''
2024-04-25 21:49:01 +02:00
matrix_hookshot_cache_redis_port : "6379"
2024-04-17 14:43:44 +02:00
matrix_hookshot_cache_redisUri : "{{ ('redis://' + matrix_hookshot_cache_redis_host + ':' + matrix_hookshot_cache_redis_port) if matrix_hookshot_cache_redis_host else '' }}" # noqa var-naming
2023-12-16 09:23:35 +02:00
# Controls whether the experimental end-to-bridge encryption support is enabled.
# This requires that:
# - support to also be enabled in the homeserver, see the documentation of Hookshot.
2024-04-17 14:34:56 +02:00
# - Hookshot to be pointed at a Redis instance via the `matrix_hookshot_cache_redis*` variables.
2023-12-16 09:23:35 +02:00
matrix_hookshot_experimental_encryption_enabled : false
2022-06-23 16:44:11 +02:00
# Controls whether metrics are enabled in the bridge configuration.
# Enabling them is usually enough for a local (in-container) Prometheus to consume them.
# If metrics need to be consumed by another (external) Prometheus server, consider exposing them via `matrix_hookshot_metrics_proxying_enabled`.
matrix_hookshot_metrics_enabled : false
2024-01-02 17:10:26 +02:00
# Controls whether Hookshot metrics should be proxied (exposed) on a public URL.
2022-06-23 16:44:11 +02:00
matrix_hookshot_metrics_proxying_enabled : false
2024-01-02 17:10:26 +02:00
matrix_hookshot_metrics_proxying_hostname : ''
matrix_hookshot_metrics_proxying_path_prefix : ''
2022-06-23 16:44:11 +02:00
2022-01-30 20:05:49 +02:00
# There is no need to edit ports.
2023-12-16 09:23:35 +02:00
# Read the documentation to learn about using Hookshot metrics with external Prometheus
2022-01-30 20:05:49 +02:00
# If you still want something different, use matrix_hookshot_container_http_host_bind_ports below to expose ports instead.
2022-01-03 22:22:42 +02:00
matrix_hookshot_metrics_port : 9001
2022-01-30 20:05:49 +02:00
# There is no need to edit ports. use matrix_hookshot_container_http_host_bind_ports below to expose ports instead.
2022-01-03 22:22:42 +02:00
matrix_hookshot_webhook_port : 9000
2024-01-02 17:10:26 +02:00
matrix_hookshot_webhook_hostname : "{{ matrix_hookshot_public_hostname }}"
2022-01-06 19:55:36 +02:00
matrix_hookshot_webhook_endpoint : "{{ matrix_hookshot_public_endpoint }}/webhooks"
2022-01-03 22:22:42 +02:00
2022-01-11 01:19:29 +02:00
2022-01-30 20:05:49 +02:00
# You need to create a GitHub app to enable this and fill in the empty variables below
2022-03-02 21:58:11 +02:00
# https://matrix-org.github.io/matrix-hookshot/setup/github.html
2022-01-06 19:55:36 +02:00
matrix_hookshot_github_enabled : false
2022-11-30 08:13:39 +02:00
matrix_hookshot_github_auth_id : ''
2022-01-30 20:05:49 +02:00
# Set this variable to the contents of the generated and downloaded GitHub private key:
2022-01-23 17:10:25 +02:00
# matrix_hookshot_github_private_key: |
# -----BEGIN RSA PRIVATE KEY-----
# 0123456789ABCDEF...
# -----END RSA PRIVATE KEY-----
2022-01-30 20:05:49 +02:00
# Alternatively, leave it empty and do it manually or use matrix-aux instead, see docs/matrix-bridge-hookshot.md for info.
2022-01-23 17:10:25 +02:00
matrix_hookshot_github_private_key : ''
matrix_hookshot_github_private_key_file : 'private-key.pem'
2022-11-30 08:13:39 +02:00
matrix_hookshot_github_webhook_secret : '' # "Webhook secret" on the GitHub App page
2022-01-06 19:55:36 +02:00
matrix_hookshot_github_oauth_enabled : false
2022-01-30 20:05:49 +02:00
# You need to configure oauth settings only when you have enabled oauth (optional)
2022-11-30 11:55:23 +02:00
matrix_hookshot_github_oauth_client_id : '' # "Client ID" on the GitHub App page
matrix_hookshot_github_oauth_client_secret : '' # "Client Secret" on the GitHub App page
2022-01-30 20:05:49 +02:00
# Default value of matrix_hookshot_github_oauth_endpoint: "/hookshot/webhooks/oauth"
2022-01-06 19:55:36 +02:00
matrix_hookshot_github_oauth_endpoint : "{{ matrix_hookshot_webhook_endpoint }}/oauth"
2024-05-08 19:33:30 +02:00
matrix_hookshot_github_oauth_redirect_uri : "{{ matrix_hookshot_urlprefix }}{{ matrix_hookshot_github_oauth_endpoint }}"
2022-11-30 08:13:39 +02:00
2022-03-02 21:58:11 +02:00
# These are the default settings mentioned here and don't need to be modified: https://matrix-org.github.io/matrix-hookshot/usage/room_configuration/github_repo.html#configuration
2022-11-30 08:13:39 +02:00
matrix_hookshot_github_defaultOptions_ignoreHooks : {} # noqa var-naming
matrix_hookshot_github_defaultOptions_commandPrefix : '!gh' # noqa var-naming
matrix_hookshot_github_defaultOptions_showIssueRoomLink : false # noqa var-naming
matrix_hookshot_github_defaultOptions_prDiff : # noqa var-naming
enabled : false
maxLines : 5
matrix_hookshot_github_defaultOptions_includingLabels : '' # noqa var-naming
matrix_hookshot_github_defaultOptions_excludingLabels : '' # noqa var-naming
matrix_hookshot_github_defaultOptions_hotlinkIssues_prefix : "#" # noqa var-naming
2022-01-03 22:22:42 +02:00
2022-01-11 01:19:29 +02:00
2022-01-03 22:22:42 +02:00
matrix_hookshot_gitlab_enabled : true
2022-01-30 20:05:49 +02:00
# Optionally add your instances, e.g.
2022-01-11 01:19:29 +02:00
# matrix_hookshot_gitlab_instances:
# gitlab.com:
# url: https://gitlab.com
# mygitlab:
# url: https://gitlab.example.org
2022-01-03 22:22:42 +02:00
matrix_hookshot_gitlab_instances :
gitlab.com :
url : https://gitlab.com
2022-01-30 20:05:49 +02:00
# This will be the "Secret token" you have to enter into all GitLab instances for authentication
2022-11-30 08:13:39 +02:00
matrix_hookshot_gitlab_webhook_secret : ''
2022-01-03 22:22:42 +02:00
2022-01-11 01:19:29 +02:00
2022-04-11 16:45:33 +02:00
matrix_hookshot_figma_enabled : false
# Default value of matrix_hookshot_figma_endpoint: "/hookshot/webhooks/figma/webhook"
matrix_hookshot_figma_endpoint : "{{ matrix_hookshot_webhook_endpoint }}/figma/webhook"
2022-07-18 15:43:12 +02:00
matrix_hookshot_figma_publicUrl : "{{ matrix_hookshot_urlprefix }}{{ matrix_hookshot_figma_endpoint }}" # noqa var-naming
2022-04-11 16:45:33 +02:00
# To bridge figma webhooks, you need to configure one of multiple instances like this:
# matrix_hookshot_figma_instances:
# your-instance:
# teamId: your-team-id
# accessToken: your-personal-access-token
# passcode: your-webhook-passcode
2022-11-30 08:13:39 +02:00
matrix_hookshot_figma_instances : {}
2022-04-11 16:45:33 +02:00
2022-01-06 19:55:36 +02:00
matrix_hookshot_jira_enabled : false
2022-03-02 21:58:11 +02:00
# Get the these values from https://matrix-org.github.io/matrix-hookshot/setup/jira.html#jira-oauth
2022-11-30 08:13:39 +02:00
matrix_hookshot_jira_webhook_secret : ''
2022-01-11 01:19:29 +02:00
matrix_hookshot_jira_oauth_enabled : false
2022-11-30 08:13:39 +02:00
matrix_hookshot_jira_oauth_client_id : ''
matrix_hookshot_jira_oauth_client_secret : ''
2022-01-30 20:05:49 +02:00
# Default value of matrix_hookshot_jira_oauth_endpoint: "/hookshot/webhooks/jira/oauth"
2022-01-06 19:55:36 +02:00
matrix_hookshot_jira_oauth_endpoint : "{{ matrix_hookshot_webhook_endpoint }}/jira/oauth"
2022-11-30 08:13:39 +02:00
matrix_hookshot_jira_oauth_redirect_uri : "{{ matrix_hookshot_urlprefix }}{{ matrix_hookshot_jira_oauth_endpoint }}"
2022-01-03 22:22:42 +02:00
2022-01-11 01:19:29 +02:00
2022-01-30 20:05:49 +02:00
# No need to change these
2022-01-03 22:22:42 +02:00
matrix_hookshot_generic_enabled : true
2023-03-07 17:28:10 +02:00
matrix_hookshot_generic_enableHttpGet : false # noqa var-naming
2022-01-30 20:05:49 +02:00
# Default value of matrix_hookshot_generic_endpoint: "/hookshot/webhooks"
2024-06-25 10:16:30 +02:00
matrix_hookshot_generic_endpoint : "{{ matrix_hookshot_webhook_endpoint }}/webhook"
2022-02-16 20:51:00 +02:00
# urlprefix gets updated with protocol & port in group_vars/matrix_servers
2023-03-07 17:28:10 +02:00
matrix_hookshot_generic_urlPrefix : "{{ matrix_hookshot_urlprefix }}{{ matrix_hookshot_generic_endpoint }}" # noqa var-naming
2022-01-30 20:05:49 +02:00
# If you're also using matrix-appservice-webhooks, take care that these prefixes don't overlap
2023-03-07 17:28:10 +02:00
matrix_hookshot_generic_userIdPrefix : '_webhooks_' # noqa var-naming
matrix_hookshot_generic_allowJsTransformationFunctions : false # noqa var-naming
matrix_hookshot_generic_waitForComplete : false # noqa var-naming
2022-01-03 22:22:42 +02:00
2022-01-11 01:19:29 +02:00
2022-10-11 08:00:49 +02:00
matrix_hookshot_feeds_enabled : true
2022-11-04 14:58:28 +02:00
matrix_hookshot_feeds_pollIntervalSeconds : 600 # noqa var-naming
2022-12-02 19:14:29 +02:00
matrix_hookshot_feeds_pollTimeoutSeconds : 30 # noqa var-naming
2022-05-07 18:42:15 +02:00
2024-01-02 17:10:26 +02:00
matrix_hookshot_provisioning_enabled : false
2022-01-30 20:05:49 +02:00
# There is no need to edit ports. use matrix_hookshot_container_http_host_bind_ports below to expose ports instead.
2022-01-06 19:55:36 +02:00
matrix_hookshot_provisioning_port : 9002
2022-01-03 22:22:42 +02:00
matrix_hookshot_provisioning_secret : ''
2022-01-30 20:05:49 +02:00
# Provisioning will be automatically enabled if dimension is enabled and you have provided a provisioning secret, unless you override it
2022-04-11 16:45:33 +02:00
matrix_hookshot_provisioning_internal : "/v1"
2024-01-02 17:10:26 +02:00
matrix_hookshot_provisioning_hostname : "{{ matrix_hookshot_public_hostname }}"
2022-04-11 16:45:33 +02:00
matrix_hookshot_provisioning_endpoint : "{{ matrix_hookshot_public_endpoint }}{{ matrix_hookshot_provisioning_internal }}"
2022-01-06 19:55:36 +02:00
2022-11-30 08:18:41 +02:00
# Valid logging levels are: debug, info, warn, error
matrix_hookshot_logging_level : warn
2022-04-11 16:48:50 +02:00
matrix_hookshot_widgets_enabled : true
matrix_hookshot_widgets_port : 9003
2022-07-18 15:43:12 +02:00
matrix_hookshot_widgets_addToAdminRooms : false # default off as it is a beta feature # noqa var-naming
matrix_hookshot_widgets_roomSetupWidget_enabled : true # noqa var-naming
matrix_hookshot_widgets_roomSetupWidget_addOnInvite : false # noqa var-naming
2022-04-11 16:48:50 +02:00
# `disallowedIpRanges` describes which IP ranges should be disallowed when resolving homeserver IP addresses (for security reasons). Unless you know what you are doing, it is recommended to not include this key. The following IPs are blocked by default, unless you supply another list.
# matrix_hookshot_widgets_disallowedIpRanges:
# - 127.0.0.0/8
# - 10.0.0.0/8
# - 172.16.0.0/12
# - 192.168.0.0/16
# - 100.64.0.0/10
# - 192.0.0.0/24
# - 169.254.0.0/16
# - 192.88.99.0/24
# - 198.18.0.0/15
# - 192.0.2.0/24
# - 198.51.100.0/24
# - 203.0.113.0/24
# - 224.0.0.0/4
# - ::1/128
# - fe80::/10
# - fc00::/7
# - 2001:db8::/32
# - ff00::/8
# - fec0::/10
2022-07-18 15:43:12 +02:00
matrix_hookshot_widgets_disallowedIpRanges : '' # noqa var-naming
2022-04-11 16:48:50 +02:00
matrix_hookshot_widgets_internal : "/widgetapi"
2024-01-02 17:10:26 +02:00
matrix_hookshot_widgets_hostname : "{{ matrix_hookshot_public_hostname }}"
2022-04-11 16:48:50 +02:00
matrix_hookshot_widgets_endpoint : "{{ matrix_hookshot_public_endpoint }}{{ matrix_hookshot_widgets_internal }}"
2024-01-19 17:08:14 +02:00
matrix_hookshot_widgets_publicUrl : "{{ matrix_hookshot_urlprefix }}{{ matrix_hookshot_widgets_endpoint }}/v1/static/" # noqa var-naming
2022-07-18 15:43:12 +02:00
matrix_hookshot_widgets_branding_widgetTitle : "Hookshot Configuration" # noqa var-naming
2022-04-11 16:48:50 +02:00
2022-03-02 21:58:11 +02:00
# You can configure access to the bridge as documented here https://matrix-org.github.io/matrix-hookshot/setup.html#permissions
2022-01-14 20:21:05 +02:00
# When empty, the default permissions are applied.
# Example:
# matrix_hookshot_permissions:
# - actor: *
# services:
# - service: *
# level: commands
# - actor: example.com
# services:
# - service: "*"
# level: admin
matrix_hookshot_permissions : [ ]
2022-01-11 01:19:29 +02:00
2022-01-06 19:55:36 +02:00
matrix_hookshot_bot_displayname : Hookshot Bot
matrix_hookshot_bot_avatar : 'mxc://half-shot.uk/2876e89ccade4cb615e210c458e2a7a6883fe17d'
2022-01-03 22:22:42 +02:00
2024-01-13 17:13:29 +02:00
matrix_hookshot_container_network : ""
2023-03-20 17:03:19 +02:00
2022-01-03 22:22:42 +02:00
# A list of extra arguments to pass to the container
matrix_hookshot_container_extra_arguments : [ ]
2024-01-02 17:10:26 +02:00
# matrix_hookshot_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_hookshot_container_labels_additional_labels`.
matrix_hookshot_container_labels_traefik_enabled : true
matrix_hookshot_container_labels_traefik_docker_network : "{{ matrix_hookshot_container_network }}"
matrix_hookshot_container_labels_traefik_entrypoints : web-secure
2024-01-04 13:00:46 +02:00
matrix_hookshot_container_labels_traefik_tls_certResolver : default # noqa var-naming
2024-01-02 17:10:26 +02:00
# Controls whether labels will be added that expose Hookshot's webhooks endpoint
matrix_hookshot_container_labels_webhooks_enabled : true
matrix_hookshot_container_labels_webhooks_traefik_rule : "Host(`{{ matrix_hookshot_webhook_hostname }}`) && PathPrefix(`{{ matrix_hookshot_webhook_endpoint }}`)"
matrix_hookshot_container_labels_webhooks_traefik_priority : 0
matrix_hookshot_container_labels_webhooks_traefik_entrypoints : "{{ matrix_hookshot_container_labels_traefik_entrypoints }}"
matrix_hookshot_container_labels_webhooks_traefik_tls : "{{ matrix_hookshot_container_labels_webhooks_traefik_entrypoints != 'web' }}"
matrix_hookshot_container_labels_webhooks_traefik_tls_certResolver : "{{ matrix_hookshot_container_labels_traefik_tls_certResolver }}" # noqa var-naming
2024-06-25 10:00:58 +02:00
# Controls whether labels will be added that expose Hookshot's appservice endpoint
2024-01-02 17:10:26 +02:00
matrix_hookshot_container_labels_appservice_enabled : true
matrix_hookshot_container_labels_appservice_traefik_rule : "Host(`{{ matrix_hookshot_appservice_hostname }}`) && PathPrefix(`{{ matrix_hookshot_appservice_endpoint }}`)"
matrix_hookshot_container_labels_appservice_traefik_priority : 0
matrix_hookshot_container_labels_appservice_traefik_entrypoints : "{{ matrix_hookshot_container_labels_traefik_entrypoints }}"
matrix_hookshot_container_labels_appservice_traefik_tls : "{{ matrix_hookshot_container_labels_appservice_traefik_entrypoints != 'web' }}"
matrix_hookshot_container_labels_appservice_traefik_tls_certResolver : "{{ matrix_hookshot_container_labels_traefik_tls_certResolver }}" # noqa var-naming
# Controls whether labels will be added that expose Hookshot's widgets endpoint
matrix_hookshot_container_labels_widgets_enabled : "{{ matrix_hookshot_widgets_enabled }}"
matrix_hookshot_container_labels_widgets_traefik_rule : "Host(`{{ matrix_hookshot_widgets_hostname }}`) && PathPrefix(`{{ matrix_hookshot_widgets_endpoint }}`)"
matrix_hookshot_container_labels_widgets_traefik_priority : 0
matrix_hookshot_container_labels_widgets_traefik_entrypoints : "{{ matrix_hookshot_container_labels_traefik_entrypoints }}"
matrix_hookshot_container_labels_widgets_traefik_tls : "{{ matrix_hookshot_container_labels_widgets_traefik_entrypoints != 'web' }}"
matrix_hookshot_container_labels_widgets_traefik_tls_certResolver : "{{ matrix_hookshot_container_labels_traefik_tls_certResolver }}" # noqa var-naming
# Controls whether labels will be added that expose Hookshot's provisioning endpoint
matrix_hookshot_container_labels_provisioning_enabled : "{{ matrix_hookshot_provisioning_enabled }}"
matrix_hookshot_container_labels_provisioning_traefik_rule : "Host(`{{ matrix_hookshot_provisioning_hostname }}`) && PathPrefix(`{{ matrix_hookshot_provisioning_endpoint }}`)"
matrix_hookshot_container_labels_provisioning_traefik_priority : 0
matrix_hookshot_container_labels_provisioning_traefik_entrypoints : "{{ matrix_hookshot_container_labels_traefik_entrypoints }}"
matrix_hookshot_container_labels_provisioning_traefik_tls : "{{ matrix_hookshot_container_labels_provisioning_traefik_entrypoints != 'web' }}"
matrix_hookshot_container_labels_provisioning_traefik_tls_certResolver : "{{ matrix_hookshot_container_labels_traefik_tls_certResolver }}" # noqa var-naming
# Controls whether labels will be added that expose Hookshot's provisioning endpoint
matrix_hookshot_container_labels_metrics_enabled : "{{ matrix_hookshot_metrics_enabled and matrix_hookshot_metrics_proxying_enabled }}"
matrix_hookshot_container_labels_metrics_traefik_rule : "Host(`{{ matrix_hookshot_metrics_proxying_hostname }}`) && PathPrefix(`{{ matrix_hookshot_metrics_proxying_path_prefix }}`)"
matrix_hookshot_container_labels_metrics_traefik_priority : 0
matrix_hookshot_container_labels_metrics_traefik_entrypoints : "{{ matrix_hookshot_container_labels_traefik_entrypoints }}"
matrix_hookshot_container_labels_metrics_traefik_tls : "{{ matrix_hookshot_container_labels_metrics_traefik_entrypoints != 'web' }}"
matrix_hookshot_container_labels_metrics_traefik_tls_certResolver : "{{ matrix_hookshot_container_labels_traefik_tls_certResolver }}" # noqa var-naming
matrix_hookshot_container_labels_metrics_middleware_basic_auth_enabled : false
# See: https://doc.traefik.io/traefik/middlewares/http/basicauth/#users
matrix_hookshot_container_labels_metrics_middleware_basic_auth_users : ''
# matrix_hookshot_container_labels_additional_labels contains a multiline string with additional labels to add to the container label file.
# See `../templates/labels.j2` for details.
#
# Example:
# matrix_hookshot_container_labels_additional_labels: |
# my.label=1
# another.label="here"
matrix_hookshot_container_labels_additional_labels : ''
2022-01-03 22:22:42 +02:00
# List of systemd services that service depends on.
2024-01-02 15:56:56 +02:00
matrix_hookshot_systemd_required_services_list : "{{ matrix_hookshot_systemd_required_services_list_default + matrix_hookshot_systemd_required_services_list_auto + matrix_hookshot_systemd_required_services_list_custom }}"
2024-06-04 12:14:34 +02:00
matrix_hookshot_systemd_required_services_list_default : "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
2024-01-02 15:56:56 +02:00
matrix_hookshot_systemd_required_services_list_auto : [ ]
matrix_hookshot_systemd_required_services_list_custom : [ ]
2022-01-03 22:22:42 +02:00
# List of systemd services that service wants
matrix_hookshot_systemd_wanted_services_list : [ ]
2022-01-06 19:55:36 +02:00
# List of ports to bind to the host to expose them directly.
# Supply docker port bind arguments in a list like this:
#
# matrix_hookshot_container_http_host_bind_ports:
# - "127.0.0.1:9999:{{ matrix_hookshot_metrics_port }}"
#
# Above example will bind the metrics port in the container to port 9999 on localhost.
matrix_hookshot_container_http_host_bind_ports : [ ]
2022-01-30 20:05:49 +02:00
# These tokens will be set automatically
2022-01-03 22:22:42 +02:00
matrix_hookshot_appservice_token : ''
matrix_hookshot_homeserver_token : ''
# Default configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it.
#
# For a more advanced customization, you can extend the default (see `matrixhookshot_configuration_extension_yaml`)
# or completely replace this variable with your own template.
matrix_hookshot_configuration_yaml : "{{ lookup('template', 'templates/config.yml.j2') }}"
matrix_hookshot_configuration_extension_yaml : |
# Your custom YAML configuration goes here.
# This configuration extends the default starting configuration (`matrix_hookshot_configuration_yaml`).
#
# You can override individual variables from the default configuration, or introduce new ones.
#
# If you need something more special, you can take full control by
# completely redefining `matrix_hookshot_configuration_yaml`.
2022-07-18 10:22:05 +02:00
matrix_hookshot_configuration_extension : "{{ matrix_hookshot_configuration_extension_yaml | from_yaml if matrix_hookshot_configuration_extension_yaml | from_yaml is mapping else {} }}"
2022-01-03 22:22:42 +02:00
# Holds the final configuration (a combination of the default and its extension).
# You most likely don't need to touch this variable. Instead, see `matrix_hookshot_configuration_yaml`.
2022-07-18 11:28:39 +02:00
matrix_hookshot_configuration : "{{ matrix_hookshot_configuration_yaml | from_yaml | combine(matrix_hookshot_configuration_extension, recursive=True) }}"
2022-01-03 22:22:42 +02:00
# Default registration template which covers the generic use case.
# You can customize it by controlling the various variables inside it.
#
# For a more advanced customization, you can extend the default (see `matrixhookshot_registration_extension_yaml`)
# or completely replace this variable with your own template.
matrix_hookshot_registration_yaml : "{{ lookup('template', 'templates/registration.yml.j2') }}"
matrix_hookshot_registration_extension_yaml : |
# Your custom YAML registration goes here.
# This registration extends the default starting registration (`matrix_hookshot_registration_yaml`).
#
# You can override individual variables from the default registration, or introduce new ones.
#
# If you need something more special, you can take full control by
# completely redefining `matrix_hookshot_registration_yaml`.
2022-07-18 10:22:05 +02:00
matrix_hookshot_registration_extension : "{{ matrix_hookshot_registration_extension_yaml | from_yaml if matrix_hookshot_registration_extension_yaml | from_yaml is mapping else {} }}"
2022-01-03 22:22:42 +02:00
# Holds the final registration (a combination of the default and its extension).
# You most likely don't need to touch this variable. Instead, see `matrix_hookshot_registration_yaml`.
2022-07-18 11:28:39 +02:00
matrix_hookshot_registration : "{{ matrix_hookshot_registration_yaml | from_yaml | combine(matrix_hookshot_registration_extension, recursive=True) }}"