mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-27 02:49:52 +00:00
* feat: add simplex-support-bot-light * feat: package simplex-support-bot-light for docker * docs: document simplex-support-bot-light * fix: make a missing config actionable and bounded * docs: note the attached compose Ctrl+C behaviour * refactor: use the library for startup and custom data * refactor: drop the display-name workaround * style: shorten the startup comment * build: build the core and the library into the image * docs: correct where the image type rule comes from * fix: log what the core said a command got wrong * build: run the container as the operator's uid * docs: keep the container uid in .env * docs: tighten the README
31 lines
1.2 KiB
TOML
31 lines
1.2 KiB
TOML
# Copy to ./bot-config/config.toml. Paths here are container paths; use the
|
|
# top-level config.toml.example when running the bot directly on the host.
|
|
|
|
[bot]
|
|
display_name = "Support"
|
|
# Optional. .png, .jpg or .jpeg, resolved against the directory holding this
|
|
# file. The encoded data URI must not exceed 12500 characters, roughly a
|
|
# 128x128 avatar.
|
|
# image = "./avatar.png"
|
|
# Must be under /data (bind-mounted from ./state). Creates <prefix>_chat.db and
|
|
# <prefix>_agent.db, which hold the bot's identity.
|
|
db_prefix = "/data/support_bot_light"
|
|
welcome = "Hi! Someone from the team will join this chat in a moment."
|
|
|
|
[roster]
|
|
# Renaming the group later has no effect: it is found by a marker in its custom
|
|
# data, not by name.
|
|
group_name = "Invite roster"
|
|
# One of: observer, author, member, moderator, admin, owner. "relay" is also
|
|
# accepted by the core but is an infrastructure role.
|
|
member_role = "owner"
|
|
|
|
# Monitoring endpoint: GET /health answers 200 while the chat controller
|
|
# responds to a command, 503 when it does not. It must bind 0.0.0.0 to be
|
|
# reachable through the published port; docker-compose.yml publishes it on the
|
|
# host loopback, because the endpoint has no authentication.
|
|
[health]
|
|
# enabled = false
|
|
host = "0.0.0.0"
|
|
port = 8080
|