mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 04:34:00 +00:00
9f2eff2ac7
Related to 0241c71a4c
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3270#issuecomment-2143782962
With this change, it should be possible for people to adjust the Docker
dependency from `docker.service` to something else (e.g. `pkg-ContainerManager-dockerd.service`),
or to completely eliminate it by setting `devture_systemd_docker_base_docker_service_name` to an empty string.
This makes it easier for people to use the playbook against a Synology DSM server.
72 lines
3.2 KiB
YAML
72 lines
3.2 KiB
YAML
---
|
|
# heisenbridge is a bouncer-style Matrix IRC bridge
|
|
# Project source code URL: https://github.com/hifi/heisenbridge
|
|
|
|
matrix_heisenbridge_enabled: true
|
|
|
|
# renovate: datasource=docker depName=hif1/heisenbridge
|
|
matrix_heisenbridge_version: 1.14.6
|
|
matrix_heisenbridge_docker_image: "{{ matrix_container_global_registry_prefix }}hif1/heisenbridge:{{ matrix_heisenbridge_version }}"
|
|
matrix_heisenbridge_docker_image_force_pull: "{{ matrix_heisenbridge_docker_image.endswith(':latest') }}"
|
|
|
|
# Set this to your Matrix ID if you want to enforce the owner, otherwise first _local_ user becomes one
|
|
matrix_heisenbridge_owner: ""
|
|
|
|
# Enabling identd will bind to host port 113/TCP
|
|
matrix_heisenbridge_identd_enabled: false
|
|
|
|
matrix_heisenbridge_base_path: "{{ matrix_base_data_path }}/heisenbridge"
|
|
|
|
matrix_heisenbridge_container_network: ""
|
|
|
|
matrix_heisenbridge_container_additional_networks: "{{ matrix_heisenbridge_container_additional_networks_auto + matrix_heisenbridge_container_additional_networks_custom }}"
|
|
matrix_heisenbridge_container_additional_networks_auto: []
|
|
matrix_heisenbridge_container_additional_networks_custom: []
|
|
|
|
# Controls how long to wait for the container to stop gracefully before killing it.
|
|
# We use a small value here, because this container does not seem to handle the SIGTERM signal.
|
|
matrix_heisenbridge_container_stop_grace_time_seconds: 1
|
|
|
|
# A list of extra arguments to pass to the container
|
|
matrix_heisenbridge_container_extra_arguments: []
|
|
|
|
# List of systemd services that service depends on.
|
|
matrix_heisenbridge_systemd_required_services_list: "{{ matrix_heisenbridge_systemd_required_services_list_default + matrix_heisenbridge_systemd_required_services_list_auto + matrix_heisenbridge_systemd_required_services_list_custom }}"
|
|
matrix_heisenbridge_systemd_required_services_list_default: "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
|
|
matrix_heisenbridge_systemd_required_services_list_auto: []
|
|
matrix_heisenbridge_systemd_required_services_list_custom: []
|
|
|
|
# List of systemd services that service wants
|
|
matrix_heisenbridge_systemd_wanted_services_list: []
|
|
|
|
matrix_heisenbridge_homeserver_url: ""
|
|
|
|
matrix_heisenbridge_appservice_token: ''
|
|
matrix_heisenbridge_homeserver_token: ''
|
|
|
|
matrix_heisenbridge_config_media_url: "{{ matrix_homeserver_url }}"
|
|
matrix_heisenbridge_config_displayname: "Heisenbridge"
|
|
|
|
matrix_heisenbridge_registration_yaml_heisenbridge:
|
|
media_url: "{{ matrix_heisenbridge_config_media_url }}"
|
|
displayname: "{{ matrix_heisenbridge_config_displayname }}"
|
|
|
|
# Default registration file consumed by both the homeserver and Heisenbridge.
|
|
# Besides registration information, it contains configuration (see the heisenbridge key).
|
|
matrix_heisenbridge_registration_yaml:
|
|
id: heisenbridge
|
|
url: http://matrix-heisenbridge:9898
|
|
as_token: "{{ matrix_heisenbridge_appservice_token }}"
|
|
hs_token: "{{ matrix_heisenbridge_homeserver_token }}"
|
|
rate_limited: false
|
|
sender_localpart: heisenbridge
|
|
namespaces:
|
|
users:
|
|
- regex: '@hbirc_.*'
|
|
exclusive: true
|
|
aliases: []
|
|
rooms: []
|
|
heisenbridge: "{{ matrix_heisenbridge_registration_yaml_heisenbridge }}"
|
|
|
|
matrix_heisenbridge_registration: "{{ matrix_heisenbridge_registration_yaml | from_yaml }}"
|