guanghulab/image-studio/deploy/DEPLOY_REPORT.md
Guanghu Domestic Migration d1e47f4565
Some checks are pending
自动更新代码和重启 / update-and-restart (push) Waiting to run
CI检查 + 自动部署 / check (push) Waiting to run
CI检查 + 自动部署 / deploy (push) Blocked by required conditions
重启聊天服务 / restart (push) Waiting to run
chore: import sanitized domestic snapshot for REPO-002
Source snapshot: ca48d3ddf926d79aa138306164169baf764bb829
2026-07-17 15:54:41 +08:00

51 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 铸渊图片工作室 · 部署回执
## 部署信息
| 项目 | 详情 |
|------|------|
| **部署时间** | 2026-05-23 08:04 UTC+8 |
| **部署位置** | 新加坡 BS-SG-001铸渊大脑43.156.237.110 |
| **服务端口** | 3912PM2守护 |
| **访问入口** | `https://guanghulab.com/images/` |
| **架构** | 广州 Nginx → 新加坡 Nginx → image-studio:3912 |
| **守护进程** | PM2image-studio (online, 0 restarts) |
## 全链路验证
| 链路节点 | 状态 | HTTP |
|----------|:----:|:----:|
| SG localhost:3912 | 🟢 | 200 |
| SG nginx /images/ | 🟢 | 200 |
| SG public /images/ | 🟢 | 200 |
| GZ→SG /images/ | 🟢 | 200 |
| GZ nginx /images/ | 🟢 | 200 |
| GZ nginx→图片下载 | 🟢 | 200 |
## 图片生成测试
| 风格 | 文件 | 尺寸 | 自动检测 |
|------|------|:----:|:--------:|
| 小红书 | `deploy_greeting.png` | 9.3KB | paragraph + guanghu |
| 即刻 | `final_jike.png` | 13KB | quote + rose |
| 海报 | `final_poster.png` | 66KB | notice + cream |
## 部署的源代码文件
- `/data/image-studio/config.js` — 风格配置 + 内容分析
- `/data/image-studio/renderer.js` — Puppeteer渲染引擎
- `/data/image-studio/generate.js` — 神笔马良 `fromText()` 入口
- `/data/image-studio/server.js` — Web服务
- `/data/image-studio/templates/xiaohongshu.js` — 小红书卡片
- `/data/image-studio/templates/jike.js` — 即刻卡片
- `/data/image-studio/templates/poster.js` — 海报模板
- `/data/image-studio/templates/dynamic.js` — 万能动态模板
## Nginx配置变更
**新加坡** (`/etc/nginx/sites-enabled/default`):
添加 `location /images/` → proxy_pass 到 `127.0.0.1:3912`
**广州** (`/etc/nginx/sites-enabled/guanghulab`):
添加 `location /images/` → proxy_pass 到 `http://43.156.237.110/images/`