2022-06-23 21:57:52 +02:00
|
|
|
---
|
|
|
|
|
2022-07-20 09:07:03 +02:00
|
|
|
# maubot is a plugin-based Matrix bot system.
|
|
|
|
# Project source code URL: https://mau.dev/maubot/maubot
|
|
|
|
|
2022-06-23 21:57:52 +02:00
|
|
|
matrix_bot_maubot_enabled: true
|
|
|
|
matrix_bot_maubot_container_image_self_build: false
|
|
|
|
matrix_bot_maubot_docker_repo: "https://mau.dev/maubot/maubot.git"
|
|
|
|
matrix_bot_maubot_docker_src_files_path: "{{ matrix_bot_maubot_base_path }}/docker-src"
|
2022-07-20 08:55:10 +02:00
|
|
|
matrix_bot_maubot_docker_repo_version: "{{ 'master' if matrix_bot_maubot_version == 'latest' else matrix_bot_maubot_version }}"
|
|
|
|
|
2022-06-23 21:57:52 +02:00
|
|
|
|
2022-06-24 18:07:09 +02:00
|
|
|
matrix_bot_maubot_version: v0.3.1
|
2022-06-23 21:57:52 +02:00
|
|
|
matrix_bot_maubot_docker_image: "dock.mau.dev/maubot/maubot:{{ matrix_bot_maubot_version }}"
|
|
|
|
matrix_bot_maubot_docker_image_force_pull: "{{ matrix_bot_maubot_docker_image.endswith(':latest') }}"
|
|
|
|
|
|
|
|
matrix_bot_maubot_base_path: "{{ matrix_base_data_path }}/maubot"
|
|
|
|
matrix_bot_maubot_data_path: "{{ matrix_bot_maubot_base_path }}/data"
|
2022-06-24 11:50:52 +02:00
|
|
|
matrix_bot_maubot_config_path: "{{ matrix_bot_maubot_base_path }}/config"
|
2022-06-23 21:57:52 +02:00
|
|
|
|
2022-07-10 10:10:30 +02:00
|
|
|
matrix_bot_maubot_bot_server_public_url: "https://{{ matrix_server_fqn_matrix }}"
|
2022-07-20 11:23:32 +02:00
|
|
|
matrix_bot_maubot_proxy_management_interface: true
|
2022-06-23 21:57:52 +02:00
|
|
|
|
2022-07-09 11:55:49 +02:00
|
|
|
matrix_bot_maubot_database_engine: sqlite
|
|
|
|
matrix_bot_maubot_sqlite_database_path_local: "{{ matrix_bot_maubot_data_path }}/maubot.db"
|
|
|
|
matrix_bot_maubot_sqlite_database_path_in_container: "/data/maubot.db"
|
|
|
|
|
|
|
|
matrix_bot_maubot_database_username: matrix_bot_maubot
|
|
|
|
matrix_bot_maubot_database_password: ~
|
2022-11-27 08:23:43 +02:00
|
|
|
matrix_bot_maubot_database_hostname: ''
|
2022-07-09 11:55:49 +02:00
|
|
|
matrix_bot_maubot_database_port: 5432
|
|
|
|
matrix_bot_maubot_database_name: matrix_bot_maubot
|
2022-07-10 09:51:27 +02:00
|
|
|
|
2022-07-20 10:16:49 +02:00
|
|
|
matrix_bot_maubot_database_connection_string: postgres://{{ matrix_bot_maubot_database_username }}:{{ matrix_bot_maubot_database_password }}@{{ matrix_bot_maubot_database_hostname }}:{{ matrix_bot_maubot_database_port }}/{{ matrix_bot_maubot_database_name }}?sslmode=disable
|
2022-07-10 09:51:27 +02:00
|
|
|
|
|
|
|
matrix_bot_maubot_database_uri: "{{
|
|
|
|
{
|
|
|
|
'sqlite': ('sqlite:///' + matrix_bot_maubot_sqlite_database_path_in_container),
|
|
|
|
'postgres': matrix_bot_maubot_database_connection_string,
|
|
|
|
}[matrix_bot_maubot_database_engine]
|
|
|
|
}}"
|
2022-07-09 11:55:49 +02:00
|
|
|
|
2022-07-10 13:33:29 +02:00
|
|
|
|
|
|
|
# Defines the port number where the management interface is
|
|
|
|
# To actually expose the management interface outside of the container, use `matrix_bot_maubot_management_interface_http_bind_port`
|
|
|
|
matrix_bot_maubot_management_interface_port: 29316
|
|
|
|
|
|
|
|
# Controls whether the maubot container exposes its HTTP management interface port (tcp/29316 in the container).
|
|
|
|
#
|
|
|
|
# Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:29316"), or empty string to not expose.
|
|
|
|
# If you'll be setting this at all, it should be defined in terms of `matrix_bot_maubot_management_interface_port`.
|
|
|
|
# Example:
|
|
|
|
# matrix_bot_maubot_management_interface_http_bind_port: "127.0.0.1:{{ matrix_bot_maubot_management_interface_port }}"
|
|
|
|
matrix_bot_maubot_management_interface_http_bind_port: ''
|
|
|
|
|
|
|
|
|
2022-07-10 10:09:55 +02:00
|
|
|
matrix_bot_maubot_unshared_secret: 'generate'
|
2022-06-23 21:57:52 +02:00
|
|
|
|
2022-07-20 12:03:50 +02:00
|
|
|
# Specifies the default log level for all bot loggers.
|
|
|
|
matrix_bot_maubot_logging_level: WARNING
|
|
|
|
|
2022-06-23 21:57:52 +02:00
|
|
|
# A list of extra arguments to pass to the container
|
|
|
|
matrix_bot_maubot_container_extra_arguments: []
|
|
|
|
|
2022-06-24 13:15:34 +02:00
|
|
|
# List of systemd services that matrix-bot-maubot.service depends on
|
2022-06-23 21:57:52 +02:00
|
|
|
matrix_bot_maubot_systemd_required_services_list: ['docker.service']
|
|
|
|
|
2022-06-24 13:15:34 +02:00
|
|
|
# List of systemd services that matrix-bot-maubot.service wants
|
2022-06-23 21:57:52 +02:00
|
|
|
matrix_bot_maubot_systemd_wanted_services_list: []
|