From 7ebc7d5be464af8a866b5c4aeaac71a694f0487c Mon Sep 17 00:00:00 2001 From: wangbo Date: Mon, 30 Mar 2026 01:07:33 +0800 Subject: [PATCH] feat(config): default server-to-gateway connection to internal network Wire WS gateway TCP host/port into the server service environment with ws-gateway:4002 defaults so production deployments in easyai connect over internal container networking out of the box. Made-with: Cursor --- docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 037d58a..c26b959 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -111,6 +111,9 @@ services: # Agent 记忆服务 TCP 连接(来自 .env) - MEMORY_TCP_HOST=${MEMORY_TCP_HOST:-agent-memory} - MEMORY_TCP_PORT=${MEMORY_TCP_PORT:-4004} + # easyai-server 发布事件到 ws-gateway(默认走容器内网服务名) + - WS_GATEWAY_TCP_HOST=${WS_GATEWAY_TCP_HOST:-ws-gateway} + - WS_GATEWAY_TCP_PORT=${WS_GATEWAY_TCP_PORT:-4002} # 日志大小设置,避免日志文件过大 env_file: - .env