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
This commit is contained in:
parent
f4bc04acde
commit
7ebc7d5be4
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user