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:
+1
-1
@@ -15,7 +15,7 @@ RUN npm config set registry "$NPM_REGISTRY" \
|
||||
COPY server ./server
|
||||
COPY config.example.yml ./
|
||||
|
||||
EXPOSE 8080
|
||||
EXPOSE 8090
|
||||
ENV AGENT_CONFIG=/app/config.yml
|
||||
|
||||
CMD ["node", "server/server.js"]
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ app/
|
||||
cd app
|
||||
npm install
|
||||
cp config.example.yml config.yml # 修改 models(每个模型独立 url/api_key)
|
||||
npm start # http://localhost:8080
|
||||
npm start # http://localhost:8090
|
||||
```
|
||||
|
||||
## 测试
|
||||
|
||||
@@ -5,7 +5,7 @@ const YAML = require('yaml');
|
||||
const log = require('./log');
|
||||
|
||||
const DEFAULTS = {
|
||||
port: 8080,
|
||||
port: 8090,
|
||||
// 数据根目录:db、prompt dump 等运行时产物默认放这里(容器内挂 ./data → /workspace/data)。
|
||||
data_root: './data',
|
||||
workspace_root: './data/tasks',
|
||||
|
||||
Reference in New Issue
Block a user