feat(deploy): A10 MVP W2-W4 容器化+nginx 单源+compose 编排骨架

platform-app/flowable-service Dockerfile(JRE21+非root+COPY 预构建 jar+健康探针);deploy/nginx.conf(单源:serve dist+反代 /api、/flowable);deploy/docker-compose.yml(4服务 postgres+platform-app+flowable-service+nginx,healthcheck/depends_on);deploy/.env.example(prod 密钥/DB env,fail-fast);deploy/systemd/*(D3 禁Docker客户兜底);deploy/README.md。验证:docker compose config 通过(4服务+插值);docker build 待 daemon(本机未起,已诚实标注)。验证揪修 flowable-service 双数据源 FLOWABLE_JDBC_*/BIZ_JDBC_* env 漏传。.gitignore 加 deploy/.env。W1 Flyway 下一批次:当前 compose 假定 DB 已置备,尚不能从零自举。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-25 14:05:56 +08:00
parent 997d51c5a4
commit ade4c928bb
10 changed files with 305 additions and 0 deletions

3
.gitignore vendored
View File

@@ -28,3 +28,6 @@ tools/s3_rewriter/output/分级清单.csv
# Office 临时锁文件 / 系统垃圾
~$*
.DS_Store
# A10 部署本地密钥(只提交 .env.example)
deploy/.env