feat(部署): 新增 deployment/ 内外网两套按侧部署包
按 demo/ 的写法把交付包改成「角色由目录决定」:iw/ 拷内网机、ow/ 拷外网机, 各自含镜像 tar、SQL、配置与 install.sh,install.sh 不再收 iw/ow 参数。 前端不再打进镜像,改为静态包放在 <侧>/web/ 只读挂进 nginx:1.27-alpine, 现场临时改页面直接替换文件 + restart web 即可。数据仍全部挂宿主机, 子目录命名与 deploy/offline 一致(pgdata/redis/mq/upload/logs/gate), 默认根改为包内 ./volumes,放数据盘只改 .env 的 SFILE_DATA_ROOT。 后端镜像 sfile-app:1.0.1 含传输优化那一批(实测组包 11.4×、解包 9.9×)。 出包脚本 deployment/scripts/build-package.sh 负责 jar→镜像→前端双包→sql→tar→VERSION。
This commit is contained in:
44
deployment/ow/web/index.html
Normal file
44
deployment/ow/web/index.html
Normal file
@@ -0,0 +1,44 @@
|
||||
<!doctype html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<!-- 避免IE兼容模式 -->
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge" />
|
||||
<!-- 极速模式渲染 -->
|
||||
<meta name="renderer" content="webkit" />
|
||||
<!-- 屏幕缩放大小 -->
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover"
|
||||
/>
|
||||
<!-- 拨打电话 -->
|
||||
<meta name="format-detection" content="telephone=yes" />
|
||||
<!-- 设置缓存 -->
|
||||
<meta
|
||||
http-equiv="Cache-Control"
|
||||
content="no-cache, no-store, must-revalidate"
|
||||
/>
|
||||
<meta http-equiv="Pragma" content="no-cache" />
|
||||
<meta http-equiv="Expires" content="0" />
|
||||
<!-- SEO -->
|
||||
<meta property="generator" content="react" />
|
||||
<meta id="keywords" property="keywords" content="" />
|
||||
<meta id="robots" property="robots" content="none" />
|
||||
<meta name="description" content="" />
|
||||
<meta property="og:title" content="" />
|
||||
<meta property="og:description" content="" />
|
||||
<meta property="og:locale" content="zh_CN" />
|
||||
|
||||
<!-- dns解析 -->
|
||||
<link rel="dns-prefetch" href="" />
|
||||
<!-- 图标 -->
|
||||
<link id="favicon" rel="icon" href="/favicon.png" />
|
||||
<!-- 标题 -->
|
||||
<title>森睿智传</title>
|
||||
<script type="module" crossorigin src="/assets/index-CjPx3lfT.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-BbZGMJ6u.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user