feat: restructure gen2D deck with enriched content and frankfurt theme components
Deploy Slides / build-and-deploy (push) Successful in 1m32s
Deploy Slides / build-and-deploy (push) Successful in 1m32s
- Restructure from 12 slides to 21 slides with proper section navigation - Split into pages/ for modular maintenance (15 page files) - Use frankfurt theme: cover layout, Item component, section frontmatter - Remove all two-cols layouts to avoid rendering issues - Add rich content from tmp/ docs: Eino pipeline, prompt agent, async tasks, data model, deployment - Use Item component for structured content blocks - Add mermaid ER diagram for data model - Add Go code block for pipeline type definitions
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
# 部署架构
|
||||
|
||||
Docker Compose 双容器 + 一键部署
|
||||
|
||||
```mermaid {scale: 0.8}
|
||||
graph TB
|
||||
subgraph Docker Compose
|
||||
A[nginx 容器<br/>前端静态文件 + 反向代理]
|
||||
B[app 容器<br/>Go 后端 + SQLite]
|
||||
end
|
||||
A -->|proxy_pass| B
|
||||
B --> C[七牛云 Kodo<br/>素材文件存储]
|
||||
B --> D[DeepSeek LLM<br/>提示词优化]
|
||||
B --> E[Stability AI<br/>文生图 API]
|
||||
User -->|HTTP| A
|
||||
```
|
||||
|
||||
<Item title="🐳 容器化方案">
|
||||
|
||||
- **nginx 容器**:Vite 构建产物 + 反向代理 `/api` 到后端
|
||||
- **app 容器**:Go 二进制 + SQLite 数据库文件挂载
|
||||
- **网络**:Docker 内部网络通信,nginx 暴露 8080 端口
|
||||
|
||||
</Item>
|
||||
|
||||
<Item title="🚀 一键部署">
|
||||
|
||||
```bash
|
||||
# 构建并启动
|
||||
docker compose up -d --build
|
||||
|
||||
# 或使用部署脚本
|
||||
./deploy.sh
|
||||
```
|
||||
|
||||
- Gitee CI/CD 自动触发:push → 构建 → 部署
|
||||
- SQLite 嵌入式数据库,无需额外数据库服务
|
||||
- 配置通过环境变量 / `.env` 文件注入
|
||||
|
||||
</Item>
|
||||
Reference in New Issue
Block a user