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:
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user