Run the panel as its own compose project behind the host Caddy
The instance's internal Caddy is only for Stoat itself, so the panel no longer goes through it: the bot ships its own compose project, publishes 3005 on loopback, and the host's external Caddy gives it a domain. extra_hosts pins the instance domain to host-gateway, so the bot reaches the API, gateway and LiveKit through the external proxy with a valid certificate instead of depending on router NAT loopback. The old in-project layout stays available as a fallback example, together with a step-by-step guide for when voice fails to connect. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
a9b7ccdd16
commit
62d5291cd9
+3
-3
@@ -1,8 +1,8 @@
|
||||
# ---------------------------------------------------------------- Stoat ----
|
||||
# Публичный адрес API вашего инстанса (тот же, что в клиенте).
|
||||
# Внутри docker-сети Stoat можно использовать http://api:14702 — но тогда
|
||||
# убедитесь, что LiveKit URL из join_call резолвится изнутри контейнера.
|
||||
STOAT_API_URL=https://stoat.example.com/api
|
||||
# Бот ходит по нему как обычный клиент; домен резолвится в хост через
|
||||
# extra_hosts в compose.yml, поэтому TLS валидный и NAT loopback не нужен.
|
||||
STOAT_API_URL=https://chat.example.com/api
|
||||
|
||||
# Токен бота: Settings → My Bots → создать бота → скопировать токен.
|
||||
STOAT_BOT_TOKEN=
|
||||
|
||||
Reference in New Issue
Block a user