Fix IM channel backend URLs in Docker (#1497)

* Fix IM channel backend URLs in Docker

* Address Copilot review comments
This commit is contained in:
DanielWalnut
2026-03-28 16:37:41 +08:00
committed by GitHub
parent 9caea0266e
commit c2dd8937ed
7 changed files with 58 additions and 3 deletions

View File

@@ -378,6 +378,8 @@ FEISHU_APP_SECRET=your_app_secret
3. Under **Events**, subscribe to `im.message.receive_v1` and select **Long Connection** mode.
4. Copy the App ID and App Secret. Set `FEISHU_APP_ID` and `FEISHU_APP_SECRET` in `.env` and enable the channel in `config.yaml`.
When DeerFlow runs in Docker Compose, IM channels execute inside the `gateway` container. In that case, do not point `channels.langgraph_url` or `channels.gateway_url` at `localhost`; use container service names such as `http://langgraph:2024` and `http://gateway:8001`, or set `DEER_FLOW_CHANNELS_LANGGRAPH_URL` and `DEER_FLOW_CHANNELS_GATEWAY_URL`.
**Commands**
Once a channel is connected, you can interact with DeerFlow directly from the chat: