Enhance Docker configuration and update dependencies for Realtime Agent Studio

- Updated Dockerfile for the API to include build tools for C++11 required for native extensions.
- Revised requirements.txt to upgrade several dependencies, including FastAPI and SQLAlchemy.
- Expanded docker-compose.yml to add MinIO service for S3-compatible storage and improved health checks for backend and engine services.
- Enhanced README.md in the Docker directory to provide detailed service descriptions and quick start instructions.
- Updated mkdocs.yml to reflect new navigation structure and added deployment overview documentation.
- Introduced new Dockerfiles for the engine and web services, including development configurations for hot reloading.
This commit is contained in:
Xin Wang
2026-03-04 10:01:00 +08:00
parent 4c05131536
commit 530d95eea4
20 changed files with 318 additions and 332 deletions

View File

@@ -257,48 +257,6 @@ flowchart LR
Engine --> API
```
### 生产环境
```mermaid
flowchart TB
subgraph Internet["互联网"]
User[用户]
end
subgraph LoadBalancer["负载均衡"]
Nginx[Nginx / Traefik]
end
subgraph Docker["Docker 集群"]
Web1[Web 容器]
Web2[Web 容器]
API1[API 容器]
API2[API 容器]
Engine1[Engine 容器]
Engine2[Engine 容器]
end
subgraph Storage["持久化存储"]
PG[(PostgreSQL)]
Redis[(Redis)]
S3[对象存储]
end
User --> Nginx
Nginx --> Web1
Nginx --> Web2
Nginx --> API1
Nginx --> API2
Nginx --> Engine1
Nginx --> Engine2
API1 --> PG
API2 --> PG
API1 --> Redis
Engine1 --> Redis
```
---
## 技术选型
| 组件 | 技术 | 选型理由 |
@@ -352,5 +310,5 @@ classDiagram
## 相关文档
- [WebSocket 协议](../api-reference/websocket.md) - 详细的协议规范
- [部署指南](../deployment/index.md) - 生产环境部署
- [部署概览](../deployment/index.md) - Docker 部署
- [核心概念](../concepts/index.md) - 助手、管线等概念说明