-
Notifications
You must be signed in to change notification settings - Fork 1
/
spa-server.drawio
34 lines (34 loc) · 3.28 KB
/
spa-server.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<mxfile host="app.diagrams.net" modified="2022-03-27T04:19:29.694Z" agent="5.0 (Macintosh)" etag="Hn-zxV62KYxy7FEx__QA" version="17.2.4" type="github">
<diagram id="CWeF-Dbs7muFz1N013ci" name="Page-1">
<mxGraphModel dx="1186" dy="643" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="0BS2BCWE53oCS1VnZQ1A-1" value="前端部署流程" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="40" y="40" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0BS2BCWE53oCS1VnZQ1A-2" value="现有方案" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="220" y="190" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0BS2BCWE53oCS1VnZQ1A-8" value="<h1>镜像<br></h1><p>打包镜像,push 镜像,部署镜像,若是 k8s,还要搞部署文件<br></p>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" vertex="1" parent="1">
<mxGeometry x="350" y="190" width="170" height="100" as="geometry" />
</mxCell>
<mxCell id="0BS2BCWE53oCS1VnZQ1A-9" value="<h1>Nginx</h1><p>复制文件到远程服务器(SCP),SSH过去,重启Nginx<br></p>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" vertex="1" parent="1">
<mxGeometry x="350" y="290" width="170" height="100" as="geometry" />
</mxCell>
<mxCell id="0BS2BCWE53oCS1VnZQ1A-10" value="<h1>S3+CDN</h1><p>同步文件到S3,然后刷新CDN<br></p>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" vertex="1" parent="1">
<mxGeometry x="350" y="400" width="170" height="80" as="geometry" />
</mxCell>
<mxCell id="0BS2BCWE53oCS1VnZQ1A-12" value="<h1>Git Page<br></h1><p>直接Push代码即可。<br></p>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" vertex="1" parent="1">
<mxGeometry x="350" y="480" width="170" height="80" as="geometry" />
</mxCell>
<mxCell id="0BS2BCWE53oCS1VnZQ1A-13" value="优化方案" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="220" y="610" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0BS2BCWE53oCS1VnZQ1A-16" value="文件存储分为本地磁盘/共享磁盘/S3,数据传输共有 SCP 和 HTTP两种,但 scp 局限性大,还是基于 HTTP 实现,可以兼容所有文件存储方式。<br>再提供 Hooks 去刷新 CDN。" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;glass=0;" vertex="1" parent="1">
<mxGeometry x="400" y="577.5" width="340" height="125" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>