This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
### 注意事项
|
||||
|
||||
Reference in New Issue
Block a user