Move matrix-bot-maubot to its own container network and add native Traefik support

This commit is contained in:
Slavi Pantaleev
2024-01-07 10:16:42 +02:00
parent 6deb99f31b
commit c5006c3ac2
9 changed files with 157 additions and 86 deletions

View File

@ -35,23 +35,23 @@ plugin_databases:
server:
# The IP and port to listen to.
hostname: 0.0.0.0
port: {{ matrix_bot_maubot_management_interface_port|to_json }}
port: {{ matrix_bot_maubot_server_port | to_json }}
# Public base URL where the server is visible.
public_url: {{ matrix_bot_maubot_bot_server_public_url|to_json }}
public_url: {{ matrix_bot_maubot_bot_server_public_url | to_json }}
# The base management API path.
base_path: /_matrix/maubot/v1
base_path: {{ matrix_bot_maubot_bot_server_base_path | to_json }}
# The base path for the UI.
ui_base_path: /_matrix/maubot
ui_base_path: {{ matrix_bot_maubot_bot_server_ui_base_path | to_json }}
# The base path for plugin endpoints. The instance ID will be appended directly.
plugin_base_path: /_matrix/maubot/plugin/
plugin_base_path: {{ matrix_bot_maubot_bot_server_plugin_base_path | to_json }}
# Override path from where to load UI resources.
# Set to false to using pkg_resources to find the path.
override_resource_path: /opt/maubot/frontend
# The base appservice API path. Use / for legacy appservice API and /_matrix/app/v1 for v1.
appservice_base_path: /_matrix/app/v1
appservice_base_path: {{ matrix_bot_maubot_bot_server_appservice_base_path | to_json }}
# The shared secret to sign API access tokens.
# Set to "generate" to generate and save a new token at startup.
unshared_secret: {{ matrix_bot_maubot_unshared_secret|to_json }}
unshared_secret: {{ matrix_bot_maubot_unshared_secret | to_json }}
# Known homeservers. This is required for the `mbc auth` command and also allows
# more convenient access from the management UI. This is not required to create