mirror of
https://github.com/jeequan/jeepay.git
synced 2026-09-03 06:34:47 +08:00
两处改动对齐:
install.sh:
- 前端静态资源从 jeepay-ui v1.10.0 升到 V3.0.0。
- 新增 uiRelease 环境变量,可覆盖(默认 V3.0.0);wget 失败加 require_ok 断言。
- --help 变量清单补 uiRelease。
docker-compose.baota.yml(宝塔):
- 新增 UI_RELEASE 变量(默认 V3.0.0),顶部注释同步。
- jeepay-configs init 脚本新增两步:
1) wget 前端 tarball 解压到 nginx/html/;以
jeepayConfigs/nginx/html/jeepaymanager/index.html 是否存在作为
幂等判断,保护用户后续对 html 的改动。
2) 对 jeepayConfigs/nginx/nginx.conf 里 proxy_pass http://localhost:921x
做 sed 替换,改为 compose service 名(jeepaymanager / jeepaymerchant
/ jeepaypayment)。install.sh 场景 nginx --net=host 下用 localhost
可达;baota compose bridge 网络必须走 service 名。
用 grep 条件替换(只有还匹配 localhost:921x 才改),幂等且不破坏
用户自定义。
docs/deploy/baota.md 变量清单补 UI_RELEASE。
远端端到端(226 amd64 服务器):
- jeepay-configs 打印 "nginx.conf: localhost proxy_pass rewrote ..."
- nginx.conf 三条 proxy_pass 替换为 jeepaymanager/merchant/payment 服务名
- 8 个容器 Up (healthy) + jeepay-configs Exited (0)
- port 29216 /=404, 29217 /=200, 29218 /=200
- /cashier/index.html=200 (收银台静态)
- /api/anon/auth/vercode=200 (DB+Redis canary)