修改端口信息
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 12m40s

This commit is contained in:
2026-04-16 00:31:33 +08:00
parent a92a220ff3
commit a5b8820d13
9 changed files with 114 additions and 96 deletions

View File

@@ -269,7 +269,7 @@ model_configs = {
| `VLLM_EMBEDDING_URL` | Embedding 服务地址 | `http://localhost:8082/v1` | `http://localhost:8082/v1` |
| `QDRANT_URL` | Qdrant 地址 | `http://115.190.121.151:6333` | `http://115.190.121.151:6333` |
| `DB_URI` | PostgreSQL 连接字符串 | `postgresql://...@115.190.121.151:5432/...` | `postgresql://...@115.190.121.151:5432/...` |
| `API_URL` | 后端 API 地址 | `http://localhost:8003/chat` | (由 docker-compose.yml 注入) |
| `API_URL` | 后端 API 地址 | `http://localhost:8083/chat` | (由 docker-compose.yml 注入) |
### 配置示例
@@ -282,7 +282,7 @@ VLLM_BASE_URL=http://localhost:8081/v1
VLLM_EMBEDDING_URL=http://localhost:8082/v1
QDRANT_URL=http://115.190.121.151:6333
DB_URI=postgresql://postgres:mysecretpassword@115.190.121.151:5432/langgraph_db?sslmode=disable
API_URL=http://localhost:8003/chat
API_URL=http://localhost:8083/chat
```
#### Docker 部署 (.env.docker)
@@ -294,7 +294,7 @@ VLLM_BASE_URL=http://localhost:8081/v1
VLLM_EMBEDDING_URL=http://localhost:8082/v1
QDRANT_URL=http://115.190.121.151:6333
DB_URI=postgresql://postgres:mysecretpassword@115.190.121.151:5432/langgraph_db?sslmode=disable
# API_URL 在 docker-compose.yml 中配置为 http://backend:8003/chat
# API_URL 在 docker-compose.yml 中配置为 http://backend:8083/chat
```
### 注意事项