hr-system/docs/01-design/architecture-deploy-t02b.md

1.3 KiB
Raw Permalink Blame History

部署参数变更补记T02b

7.1 端口变更记录

  • 设计基线原写应用统一入口端口 9182v1.2 口径)。
  • 2026-08 客户最新确认:服务端口改为 9280SSH 主机 hrstest.opencomputing.cn域名 hrstest.opencomputing.cnNginx 反代 → 127.0.0.1:9280预留 certbot --nginx 申请 Let's Encrypt 证书)。
  • 变更范围conf/config.json、deploy/hr-web.service、deploy/nginx-hrstest.conf、apps/hr-web.md §3/§4。
  • 其余设计基线(架构、模块、数据模型)不改动,仅部署章节补记端口变更。

7.2 测试环境部署参数(客户确认版)

SSH 主机 hrstest.opencomputing.cn
SSH 用户 hrstest
部署目录 /opt/hrs
服务端口 9280ahserver 直接监听Nginx 反代同端口)
域名 hrstest.opencomputing.cn
HTTPS Nginx 反代 + certbot --nginx
数据库 MariaDB 本地,库 hrs,账号 test / test123(测试环境专用,允许入库)
缓存/会话 Redis 本地session_max_time=28800session_issue_time=86400

7.3 生产环境部署参数(待补)

  • 服务器待客户后续提供;生产账号口令部署时安全配置(环境变量注入,不入库明文),待明确 Q2。
  • 一期接受 IP:9280 HTTP 直连HTTPS 证书补齐后经反向代理升级。