feat(deploy): 一条命令链部署——双单文件 + Caddy + DATABASE_URL 单源

多阶段镜像编出 server/engine 单文件与前端静态;compose 起 pg/server/engine/caddy;
启动时自动迁移;仅用 DATABASE_URL,postgres 建库参数由 entrypoint 拆解。
This commit is contained in:
2026-10-10 16:46:54 +08:00
parent 5f76bfc9d6
commit ea4efbe1d7
12 changed files with 258 additions and 18 deletions
+17
View File
@@ -0,0 +1,17 @@
.git
.env
.env.*
!.env.example
node_modules
**/node_modules
**/dist
**/.tmp
**/.vite
*.log
api*.json
session-archive
coverage
*.tsbuildinfo
.claude
.agents
agent