chore: seal Design Vision v1 and monorepo scaffold

Archive the differentiated YuXinGu product docs, AI engineering system,
design contract, and Go/Vue scaffold. Next execution prioritizes Cece-parity
over early innovation (see .ai/product/STRATEGY.md).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-08-02 16:00:44 +08:00
co-authored by Cursor
parent 2686866376
commit 2fb1dfee14
193 changed files with 8854 additions and 1851 deletions
+29
View File
@@ -0,0 +1,29 @@
# 09 Docker / CI/CD 规范
## 本地
```bash
docker compose -f deploy/docker-compose.yml up -d
```
服务:`postgres`(必备)、可选 `api` 镜像。
## 环境变量
- `APP_ENV``dev` | `staging` | `prod`
- `DATABASE_URL`
- `HTTP_ADDR`(默认 `:8080`
- `JWT_SECRET` / 支付密钥等仅环境注入
禁止把 `.env` 提交进 git(示例用 `.env.example`)。
## CI 门禁(目标)
1. `go test ./...`api
2. `npm run build`user-h5
3. lint(后置可加 golangci-lint / eslint
## 镜像
- API 多阶段构建,最终镜像仅含二进制。
- 标签:`yuxingu-api:<git-sha>`