feat(deploy): 支持远程服务器部署

- deploy.sh 新增 push/remote-deploy/remote-stop/remote-status/remote-log 命令,
  远程流程: 构建→上传→停旧→备份→启动→/mcp 健康检查
- 新增 deploy/remote.conf.example 模板(SSH/目录/JDK路径/JVM参数),
  实际 remote.conf 已 gitignore
- 远程启动前 source 服务器上的 app.env 注入环境变量
- 新增 application-prod.yml,敏感值全部走环境变量,不写明文
This commit is contained in:
xiaoqu
2026-09-08 14:07:15 +08:00
parent 0009c47abb
commit da60b0ab99
4 changed files with 158 additions and 1 deletions
+1
View File
@@ -9,5 +9,6 @@ front/dist/
# 本地部署凭据与运行态
deploy/.env.dev
deploy/remote.conf
deploy/app.pid
logs/