2022-08-04 19:37:08 +02:00
|
|
|
---
|
|
|
|
# Conduit is a simple, fast and reliable chat server powered by Matrix
|
2024-01-11 06:52:28 +01:00
|
|
|
# Project source code URL: https://gitlab.com/famedly/conduit
|
2022-08-04 19:37:08 +02:00
|
|
|
# See: https://conduit.rs
|
|
|
|
|
|
|
|
matrix_conduit_enabled: true
|
|
|
|
|
2022-08-09 09:54:39 +02:00
|
|
|
matrix_conduit_docker_image: "{{ matrix_conduit_docker_image_name_prefix }}matrixconduit/matrix-conduit:{{ matrix_conduit_docker_image_tag }}"
|
2022-08-04 19:37:08 +02:00
|
|
|
matrix_conduit_docker_image_name_prefix: "docker.io/"
|
2023-10-06 14:14:03 +02:00
|
|
|
# renovate: datasource=docker depName=matrixconduit/matrix-conduit
|
2023-08-10 20:30:11 +02:00
|
|
|
matrix_conduit_docker_image_tag: "v0.6.0"
|
2022-08-04 19:37:08 +02:00
|
|
|
matrix_conduit_docker_image_force_pull: "{{ matrix_conduit_docker_image.endswith(':latest') }}"
|
|
|
|
|
|
|
|
matrix_conduit_base_path: "{{ matrix_base_data_path }}/conduit"
|
2022-08-04 20:25:18 +02:00
|
|
|
matrix_conduit_config_path: "{{ matrix_conduit_base_path }}/config"
|
2022-08-04 20:31:28 +02:00
|
|
|
matrix_conduit_data_path: "{{ matrix_conduit_base_path }}/data"
|
2022-08-04 19:37:08 +02:00
|
|
|
|
|
|
|
matrix_conduit_port_number: 6167
|
|
|
|
|
2022-08-04 20:16:32 +02:00
|
|
|
matrix_conduit_tmp_directory_size_mb: 500
|
|
|
|
|
2022-08-04 19:37:08 +02:00
|
|
|
# List of systemd services that matrix-conduit.service depends on
|
2024-01-05 15:46:30 +01:00
|
|
|
matrix_conduit_systemd_required_services_list: "{{ matrix_conduit_systemd_required_services_list_default + matrix_conduit_systemd_required_services_list_auto + matrix_conduit_systemd_required_services_list_custom }}"
|
|
|
|
matrix_conduit_systemd_required_services_list_default: ["docker.service"]
|
|
|
|
matrix_conduit_systemd_required_services_list_auto: []
|
|
|
|
matrix_conduit_systemd_required_services_list_custom: []
|
2022-08-04 19:37:08 +02:00
|
|
|
|
|
|
|
# List of systemd services that matrix-conduit.service wants
|
|
|
|
matrix_conduit_systemd_wanted_services_list: []
|
|
|
|
|
2023-02-26 21:08:08 +01:00
|
|
|
# The base container network. It will be auto-created by this role if it doesn't exist already.
|
2024-01-05 15:46:30 +01:00
|
|
|
matrix_conduit_container_network: ""
|
2023-02-26 21:08:08 +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.
|
2024-01-11 07:56:51 +01:00
|
|
|
matrix_conduit_container_additional_networks: "{{ matrix_conduit_container_additional_networks_auto + matrix_conduit_container_additional_networks_custom }}"
|
|
|
|
matrix_conduit_container_additional_networks_auto: []
|
|
|
|
matrix_conduit_container_additional_networks_custom: []
|
|
|
|
|
|
|
|
# matrix_conduit_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_conduit_container_labels_additional_labels`.
|
|
|
|
matrix_conduit_container_labels_traefik_enabled: true
|
|
|
|
matrix_conduit_container_labels_traefik_docker_network: "{{ matrix_conduit_container_network }}"
|
|
|
|
matrix_conduit_container_labels_traefik_entrypoints: web-secure
|
|
|
|
matrix_conduit_container_labels_traefik_tls_certResolver: default # noqa var-naming
|
|
|
|
matrix_conduit_container_labels_traefik_hostname: ''
|
|
|
|
|
|
|
|
# Controls whether labels will be added for handling the root (/) path
|
|
|
|
matrix_conduit_container_labels_client_root_enabled: true
|
|
|
|
matrix_conduit_container_labels_client_root_traefik_hostname: "{{ matrix_conduit_container_labels_traefik_hostname }}"
|
|
|
|
matrix_conduit_container_labels_client_root_traefik_rule: "Host(`{{ matrix_conduit_container_labels_client_root_traefik_hostname }}`) && Path(`/`)"
|
|
|
|
matrix_conduit_container_labels_client_root_traefik_priority: 0
|
|
|
|
matrix_conduit_container_labels_client_root_traefik_entrypoints: "{{ matrix_conduit_container_labels_traefik_entrypoints }}"
|
|
|
|
matrix_conduit_container_labels_client_root_traefik_tls: "{{ matrix_conduit_container_labels_client_root_traefik_entrypoints != 'web' }}"
|
|
|
|
matrix_conduit_container_labels_client_root_traefik_tls_certResolver: "{{ matrix_conduit_container_labels_traefik_tls_certResolver }}" # noqa var-naming
|
|
|
|
matrix_conduit_container_labels_client_root_redirection_enabled: false
|
|
|
|
matrix_conduit_container_labels_client_root_redirection_url: ""
|
|
|
|
|
|
|
|
# Controls whether labels will be added that expose the Client-Server API.
|
|
|
|
matrix_conduit_container_labels_client_api_enabled: true
|
|
|
|
matrix_conduit_container_labels_client_api_traefik_hostname: "{{ matrix_conduit_container_labels_traefik_hostname }}"
|
|
|
|
matrix_conduit_container_labels_client_api_traefik_path_prefix: /_matrix
|
|
|
|
matrix_conduit_container_labels_client_api_traefik_rule: "Host(`{{ matrix_conduit_container_labels_client_api_traefik_hostname }}`) && PathPrefix(`{{ matrix_conduit_container_labels_client_api_traefik_path_prefix }}`)"
|
|
|
|
matrix_conduit_container_labels_client_api_traefik_priority: 0
|
|
|
|
matrix_conduit_container_labels_client_api_traefik_entrypoints: "{{ matrix_conduit_container_labels_traefik_entrypoints }}"
|
|
|
|
matrix_conduit_container_labels_client_api_traefik_tls: "{{ matrix_conduit_container_labels_client_api_traefik_entrypoints != 'web' }}"
|
|
|
|
matrix_conduit_container_labels_client_api_traefik_tls_certResolver: "{{ matrix_conduit_container_labels_traefik_tls_certResolver }}" # noqa var-naming
|
|
|
|
|
|
|
|
# Controls whether labels will be added that expose the Server-Server API (Federation API).
|
|
|
|
matrix_conduit_container_labels_federation_api_enabled: "{{ matrix_conduit_allow_federation }}"
|
|
|
|
matrix_conduit_container_labels_federation_api_traefik_hostname: "{{ matrix_conduit_container_labels_traefik_hostname }}"
|
|
|
|
matrix_conduit_container_labels_federation_api_traefik_path_prefix: /_matrix
|
|
|
|
matrix_conduit_container_labels_federation_api_traefik_rule: "Host(`{{ matrix_conduit_container_labels_federation_api_traefik_hostname }}`) && PathPrefix(`{{ matrix_conduit_container_labels_federation_api_traefik_path_prefix }}`)"
|
|
|
|
matrix_conduit_container_labels_federation_api_traefik_priority: 0
|
|
|
|
matrix_conduit_container_labels_federation_api_traefik_entrypoints: ''
|
|
|
|
matrix_conduit_container_labels_federation_api_traefik_tls: "{{ matrix_conduit_container_labels_federation_api_traefik_entrypoints != 'web' }}"
|
|
|
|
matrix_conduit_container_labels_federation_api_traefik_tls_certResolver: "{{ matrix_conduit_container_labels_traefik_tls_certResolver }}" # noqa var-naming
|
|
|
|
|
|
|
|
# matrix_conduit_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_conduit_container_labels_additional_labels: |
|
|
|
|
# my.label=1
|
|
|
|
# another.label="here"
|
|
|
|
matrix_conduit_container_labels_additional_labels: ''
|
2023-02-26 21:08:08 +01:00
|
|
|
|
2022-08-04 19:37:08 +02:00
|
|
|
# Extra arguments for the Docker container
|
|
|
|
matrix_conduit_container_extra_arguments: []
|
|
|
|
|
|
|
|
# Specifies which template files to use when configuring Conduit.
|
|
|
|
# If you'd like to have your own different configuration, feel free to copy and paste
|
|
|
|
# the original files into your inventory (e.g. in `inventory/host_vars/<host>/`)
|
|
|
|
# and then change the specific host's `vars.yaml` file like this:
|
|
|
|
# matrix_conduit_template_conduit_config: "{{ playbook_dir }}/inventory/host_vars/<host>/conduit.yaml.j2"
|
|
|
|
matrix_conduit_template_conduit_config: "{{ role_path }}/templates/conduit/conduit.toml.j2"
|
|
|
|
|
|
|
|
# Max size for uploads, in bytes
|
2022-08-04 21:35:41 +02:00
|
|
|
matrix_conduit_max_request_size: 20_000_000
|
2022-08-04 19:37:08 +02:00
|
|
|
|
2022-09-02 20:04:21 +02:00
|
|
|
# Maximum number of open files for Conduit's embedded RocksDB database
|
|
|
|
# See https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide#tuning-other-options
|
2022-09-05 19:04:21 +02:00
|
|
|
# By default, Conduit uses a relatively low value of 20.
|
2022-09-02 20:04:21 +02:00
|
|
|
matrix_conduit_rocksdb_max_open_files: 64
|
|
|
|
|
2022-08-04 19:37:08 +02:00
|
|
|
# Enables registration. If set to false, no users can register on this server.
|
2022-08-30 09:53:59 +02:00
|
|
|
matrix_conduit_allow_registration: false
|
2022-08-04 19:37:08 +02:00
|
|
|
|
|
|
|
matrix_conduit_allow_federation: true
|
|
|
|
|
|
|
|
# Enable the display name lightning bolt on registration.
|
|
|
|
matrix_conduit_enable_lightning_bolt: true
|
|
|
|
|
|
|
|
matrix_conduit_trusted_servers:
|
|
|
|
- "matrix.org"
|
|
|
|
|
|
|
|
# How many requests Conduit sends to other servers at the same time
|
|
|
|
matrix_conduit_max_concurrent_requests: 100
|
2024-01-11 06:52:28 +01:00
|
|
|
|
|
|
|
# TURN integration.
|
|
|
|
# See: https://gitlab.com/famedly/conduit/-/blob/next/TURN.md
|
|
|
|
matrix_conduit_turn_uris: []
|
|
|
|
matrix_conduit_turn_secret: ''
|
|
|
|
matrix_conduit_turn_username: ''
|
|
|
|
matrix_conduit_turn_password: ''
|