docs(deploy): document optional runtime tokens (#2431)

Co-authored-by: dadachann <185672915+dadachann@users.noreply.github.com>
This commit is contained in:
Hyu
2026-08-14 00:29:58 +08:00
committed by GitHub
parent 79773b669a
commit de28b3160c
10 changed files with 49 additions and 7 deletions
+10
View File
@@ -83,6 +83,16 @@ cd LangBot/docker
docker compose --profile all up -d
```
> If the deployment is accessible from the Internet, protect the internal Runtime connections with strong tokens:
>
> ```bash
> export LANGBOT_PLUGIN_RUNTIME_CONTROL_TOKEN="$(openssl rand -hex 32)"
> export LANGBOT_BOX_CONTROL_TOKEN="$(openssl rand -hex 32)"
> docker compose --profile all up -d
> ```
>
> Compose passes each value to both ends of its connection. If both ends leave a token unset, the open-source deployment permits a tokenless connection for backward compatibility. Store configured values in your deployment secret manager; do not commit them.
### One-Click Cloud Deploy
[![Deploy on Zeabur](https://zeabur.com/button.svg)](https://zeabur.com/en-US/templates/ZKTBDH)