core 端口统一为 8090(容器内默认 8080 → 8090,与宿主机默认一致)

- app/server/config.js:DEFAULTS.port 8080 → 8090
- app/Dockerfile:EXPOSE 8090
- docker-compose.yml:PORT=8090;ports 映射改为 "${AGENT_PORT:-8090}:8090"
- 文档同步(README / docs/DEPLOY / docs/ARCHITECTURE / app/README)
public-link 的内网签发端口 8081、executor 9000 均未动。
This commit is contained in:
root
2026-09-15 22:27:36 +08:00
parent 28d5e7080f
commit 2ce94bd86a
7 changed files with 14 additions and 14 deletions
+3 -3
View File
@@ -4,9 +4,9 @@ services:
container_name: agent-core
restart: unless-stopped
ports:
# 无 nginx-proxy:直接把容器 8080 映射到宿主机端口,用 http://<服务器IP>:<AGENT_PORT> 访问。
# 无 nginx-proxy:直接把容器 8090 映射到宿主机端口,用 http://<服务器IP>:<AGENT_PORT> 访问。
# 改端口:在仓库顶层 .env 里设 AGENT_PORT(默认 8090)。
- "${AGENT_PORT:-8090}:8080"
- "${AGENT_PORT:-8090}:8090"
volumes:
- ./tasks:/workspace/tasks # 持久化:任务目录
- ./skills:/workspace/skills # 技能目录:所有任务/会话共享同一份技能
@@ -14,7 +14,7 @@ services:
- ./config.yml:/app/config.yml # 允许设置页写配置(写前服务端会校验)
- ./app/server:/app/server
environment:
- PORT=8080
- PORT=8090
- AGENT_CONFIG=/app/config.yml
# 加入executor独立服务
- EXECUTOR_URL=http://agent-executor:9000