- 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.
1023 B
1023 B
部署概览
本章节介绍如何使用 Docker 部署 Realtime Agent Studio (RAS)。
部署方式
| 方式 | 适用场景 | 复杂度 |
|---|---|---|
| Docker 部署 | 快速启动、容器化运行 | 简单 |
快速开始
Docker 一键部署
docker build -t ai-video-assistant-web ./web
docker run -d -p 3000:80 --name ai-assistant-web ai-video-assistant-web
验证部署
- 访问 http://localhost:3000
- 检查页面是否正常加载
- 验证各功能模块是否可用
环境变量配置
| 变量 | 说明 | 默认值 |
|---|---|---|
| VITE_API_URL | 后端 API 地址 | http://localhost:8080 |
| VITE_GEMINI_API_KEY | Gemini API Key | - |
故障排查
| 问题 | 解决方案 |
|---|---|
| 页面空白 | 检查浏览器控制台错误 |
| API 请求失败 | 确认 VITE_API_URL 配置正确 |
| 静态资源 404 | 检查 nginx try_files 配置 |
更多问题请参考 故障排查。