Commit Graph
3 Commits
Author SHA1 Message Date
adminandClaude Opus 4.8 21c0f6f12d fix(deploy): wire core shell + plugin dist collection; drop admin.html/alias exposure; seed plugin-config; refresh lock
Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-09-24 18:08:19 +08:00
admin 9de4d67354 refactor: depend on ../ipass-plugin-sso; strip local copy 2026-09-24 16:56:17 +08:00
admin 67a8e731cc feat(deploy): 容器化构建(多阶段 Dockerfile + compose + entrypoint + 共用 base)
- 主镜像 Dockerfile:多阶段构建,复用 rust-nginx-base 镜像(nginx 1.30.4 + rust 1.89
  + 已 configure 的 pcre/openssl/编译链),冷构建从 ~17min 压到 ~5min
- deploy/nginx.conf:容器内 nginx 配置(端口 18098 / /usr/local/nginx/... 路径)
- docker-compose.yml:本机一键起服务(端口 8881→18098)+ S10 健康探测
- scripts/container-entrypoint.sh:容器入口脚本(启动前 healthcheck 等)
- .dockerignore:避免把 build/target/data/refs 误打进镜像
- deploy/Dockerfile.base:rust-nginx-base 镜像定义(apt 链 + nginx/pcre 源码 + 已
  ./configure 过的源码树)
- deploy/build-base-image.sh:构建并推送 base 镜像到阿里云 CR
  (crpi-yscq976uwza88qap.cn-shenzhen.personal.cr.aliyuncs.com/ssw188/nginx)
2026-09-24 16:27:05 +08:00