Files
slide/decks/gen2D/pages/deployment.md
T
wonder 19075592e5
Deploy Slides / build-and-deploy (push) Successful in 1m16s
fix: trim gen2D slide content to prevent overflow beyond header/footer
- Reduce Item count per slide: pipeline 4→3, solution 4→2, highlights 6→4
- Remove tech-stack architecture layering Item (moved to tech-stack grid)
- Simplify eino-graph: shorter Go code, 3 Items→2
- Simplify prompt-agent: smaller mermaid, shorter Item text
- Simplify async-task: merge 3 Items→2, remove footer
- Simplify data-model: merge 4 grid items→2
- Simplify architecture: reduce ASCII diagram from 38 to 20 lines
- Simplify dedup-ws: remove JSON code block, shorter Items
- Simplify deployment: smaller mermaid, shorter Items
- Simplify problem: shorter Item text, remove bullet lists
- Simplify style-system: fix typo, shorter Item text
2026-05-30 14:43:23 +08:00

23 lines
635 B
Markdown

# 部署架构
Docker Compose 双容器 + 一键部署
```mermaid {scale: 0.7}
graph TB
subgraph Docker Compose
A[nginx 容器] -->|proxy_pass| B[app 容器]
end
B --> C[七牛云 Kodo]
B --> D[DeepSeek LLM]
B --> E[Stability AI]
User -->|HTTP| A
```
<Item title="🐳 容器化方案">
nginx 容器:Vite 构建产物 + 反向代理 `/api`。app 容器:Go 二进制 + SQLite 挂载。内部网络通信,nginx 暴露 8080 端口。
</Item>
<Item title="🚀 一键部署">
`docker compose up -d --build` 或 `./deploy.sh`。Gitee CI/CD 自动触发,SQLite 嵌入式零外部依赖。
</Item>