149 lines
15 KiB
XML
149 lines
15 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<mxfile host="app.diagrams.net" type="device">
|
|
<diagram id="deployment" name="deployment">
|
|
<mxGraphModel grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1264" pageHeight="753" background="#FFFFFF" math="0" shadow="0">
|
|
<root>
|
|
<mxCell id="0" />
|
|
<mxCell id="1" parent="0" />
|
|
<mxCell id="canvas" value="" style="shape=rectangle;fillColor=#FFFFFF;strokeColor=none;locked=1;" vertex="1" parent="1">
|
|
<mxGeometry x="0" y="0" width="1264" height="753" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="v3" value="Item Atlas · 部署架构" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontFamily=PingFang SC;fontSize=30;fontColor=#18283A;fontStyle=1;spacingLeft=0;spacing=0;overflow=visible;" vertex="1" parent="1">
|
|
<mxGeometry x="48" y="28" width="800" height="42" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="public" value="<div style="font-weight:700;font-size:16px;line-height:1.28">公网访问</div><div style="margin-top:5px;font-size:13px;color:#4D6278;line-height:1.35">H5 · PC 网页 · 管理后台 · iOS · Android</div>" style="rounded=1;arcSize=11;whiteSpace=wrap;html=1;fillColor=#EAF3FF;strokeColor=#99B6D8;strokeWidth=1.2;fontFamily=PingFang SC;fontColor=#18283A;verticalAlign=middle;align=left;spacingLeft=15;" vertex="1" parent="1">
|
|
<mxGeometry x="425" y="86" width="392" height="61" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="v5" value="" style="rounded=1;absoluteArcSize=1;arcSize=24;whiteSpace=wrap;html=1;fillColor=#F7F9FC;strokeColor=#D9E3ED;strokeWidth=1;container=0;" vertex="1" parent="1">
|
|
<mxGeometry x="48" y="177" width="1168" height="160" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="v6" value="云端入口与交付" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontFamily=PingFang SC;fontSize=15;fontColor=#18283A;fontStyle=1;spacingLeft=0;spacing=0;overflow=visible;" vertex="1" parent="1">
|
|
<mxGeometry x="70" y="188" width="340" height="23" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="edge" value="<div style="font-weight:700;font-size:16px;line-height:1.28">公网入口云机</div><div style="margin-top:5px;font-size:13px;color:#4D6278;line-height:1.35">Nginx :443 / TLS · frps 与回环 visitor</div>" style="rounded=1;arcSize=11;whiteSpace=wrap;html=1;fillColor=#EAF3FF;strokeColor=#99B6D8;strokeWidth=1.2;fontFamily=PingFang SC;fontColor=#18283A;verticalAlign=middle;align=left;spacingLeft=15;" vertex="1" parent="1">
|
|
<mxGeometry x="275" y="224" width="397" height="74" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="ci" value="<div style="font-weight:700;font-size:16px;line-height:1.28">CI 云机</div><div style="margin-top:5px;font-size:13px;color:#4D6278;line-height:1.35">Gitea · Drone · 镜像仓库</div>" style="rounded=1;arcSize=11;whiteSpace=wrap;html=1;fillColor=#EAF3FF;strokeColor=#99B6D8;strokeWidth=1.2;fontFamily=PingFang SC;fontColor=#18283A;verticalAlign=middle;align=left;spacingLeft=15;" vertex="1" parent="1">
|
|
<mxGeometry x="826" y="224" width="361" height="74" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="v9" value="" style="rounded=1;absoluteArcSize=1;arcSize=24;whiteSpace=wrap;html=1;fillColor=#F7FAF9;strokeColor=#CADDD6;strokeWidth=1;container=0;" vertex="1" parent="1">
|
|
<mxGeometry x="48" y="380" width="1168" height="309" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="v10" value="家庭局域网" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontFamily=PingFang SC;fontSize=15;fontColor=#18283A;fontStyle=1;spacingLeft=0;spacing=0;overflow=visible;" vertex="1" parent="1">
|
|
<mxGeometry x="70" y="390" width="280" height="22" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="v11" value="" style="rounded=1;absoluteArcSize=1;arcSize=24;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#CDDCE5;strokeWidth=1;container=0;" vertex="1" parent="1">
|
|
<mxGeometry x="72" y="423" width="852" height="245" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="v12" value="工作 Mac" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontFamily=PingFang SC;fontSize=17;fontColor=#18283A;fontStyle=1;spacingLeft=0;spacing=0;overflow=visible;" vertex="1" parent="1">
|
|
<mxGeometry x="94" y="434" width="120" height="24" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="v13" value="ARM64 Linux 虚拟机 · 单节点 Kubernetes" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontFamily=PingFang SC;fontSize=14;fontColor=#4D6278;fontStyle=0;spacingLeft=0;spacing=0;overflow=visible;" vertex="1" parent="1">
|
|
<mxGeometry x="327" y="435" width="528" height="23" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="v14" value="" style="rounded=1;absoluteArcSize=1;arcSize=24;whiteSpace=wrap;html=1;fillColor=#F3F8FC;strokeColor=#C6D8E8;strokeWidth=1;container=0;" vertex="1" parent="1">
|
|
<mxGeometry x="580" y="470" width="319" height="143" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="v15" value="Kubernetes 工作负载" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontFamily=PingFang SC;fontSize=13;fontColor=#18283A;fontStyle=1;spacingLeft=0;spacing=0;overflow=visible;" vertex="1" parent="1">
|
|
<mxGeometry x="598" y="475" width="274" height="20" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="frpc" value="<div style="font-weight:700;font-size:16px;line-height:1.28">frpc</div><div style="margin-top:5px;font-size:13px;color:#4D6278;line-height:1.35">STCP 接入</div>" style="rounded=1;arcSize=11;whiteSpace=wrap;html=1;fillColor=#EAF3FF;strokeColor=#99B6D8;strokeWidth=1.2;fontFamily=PingFang SC;fontColor=#18283A;verticalAlign=middle;align=left;spacingLeft=15;" vertex="1" parent="1">
|
|
<mxGeometry x="100" y="500" width="190" height="61" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="proxy" value="<div style="font-weight:700;font-size:16px;line-height:1.28">集群入口 Nginx</div><div style="margin-top:5px;font-size:13px;color:#4D6278;line-height:1.35">按 Host 和 API 路径分流</div>" style="rounded=1;arcSize=11;whiteSpace=wrap;html=1;fillColor=#EAF3FF;strokeColor=#99B6D8;strokeWidth=1.2;fontFamily=PingFang SC;fontColor=#18283A;verticalAlign=middle;align=left;spacingLeft=15;" vertex="1" parent="1">
|
|
<mxGeometry x="343" y="500" width="191" height="61" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="web" value="<div style="font-weight:700;font-size:14px;line-height:1.28">Web 镜像 · H5 / PC / 后台</div>" style="rounded=1;arcSize=11;whiteSpace=wrap;html=1;fillColor=#EAF5F1;strokeColor=#8BB8AA;strokeWidth=1.2;fontFamily=PingFang SC;fontColor=#18283A;verticalAlign=middle;align=left;spacingLeft=15;" vertex="1" parent="1">
|
|
<mxGeometry x="599" y="502" width="280" height="38" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="app" value="<div style="font-weight:700;font-size:14px;line-height:1.28">网关 · 物品服务 / 录入服务</div>" style="rounded=1;arcSize=11;whiteSpace=wrap;html=1;fillColor=#EAF5F1;strokeColor=#8BB8AA;strokeWidth=1.2;fontFamily=PingFang SC;fontColor=#18283A;verticalAlign=middle;align=left;spacingLeft=15;" vertex="1" parent="1">
|
|
<mxGeometry x="599" y="557" width="280" height="38" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="ssd" value="<div style="font-weight:700;font-size:14px;line-height:1.28">外置 SSD</div><div style="margin-top:5px;font-size:13px;color:#4D6278;line-height:1.35">虚拟机与应用持久数据</div>" style="rounded=1;arcSize=11;whiteSpace=wrap;html=1;fillColor=#FBF8EF;strokeColor=#CEC098;strokeWidth=1.2;fontFamily=PingFang SC;fontColor=#18283A;verticalAlign=middle;align=left;spacingLeft=15;" vertex="1" parent="1">
|
|
<mxGeometry x="343" y="606" width="191" height="46" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="home" value="<div style="font-weight:700;font-size:16px;line-height:1.28">家用 Mac</div><div style="margin-top:5px;font-size:13px;color:#4D6278;line-height:1.35">Ollama 推理</div>" style="rounded=1;arcSize=11;whiteSpace=wrap;html=1;fillColor=#EAF5F1;strokeColor=#8BB8AA;strokeWidth=1.2;fontFamily=PingFang SC;fontColor=#18283A;verticalAlign=middle;align=left;spacingLeft=15;" vertex="1" parent="1">
|
|
<mxGeometry x="958" y="506" width="225" height="69" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="public-edge" style="noEdgeStyle=1;rounded=0;html=1;endArrow=block;endFill=1;endSize=7;strokeWidth=1.8;strokeColor=#3265A1;dashed=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" edge="1" source="public" target="edge">
|
|
<mxGeometry relative="1" as="geometry">
|
|
<Array as="points">
|
|
<mxPoint x="621" y="215" />
|
|
<mxPoint x="473.5" y="215" />
|
|
</Array>
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="edge-frpc" style="noEdgeStyle=1;rounded=0;html=1;endArrow=block;endFill=1;endSize=7;strokeWidth=1.8;strokeColor=#3265A1;dashed=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" edge="1" source="edge" target="frpc">
|
|
<mxGeometry relative="1" as="geometry">
|
|
<Array as="points">
|
|
<mxPoint x="473.5" y="351" />
|
|
<mxPoint x="195" y="351" />
|
|
</Array>
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="frpc-proxy" style="noEdgeStyle=1;rounded=0;html=1;endArrow=block;endFill=1;endSize=7;strokeWidth=1.8;strokeColor=#3265A1;dashed=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" edge="1" source="frpc" target="proxy">
|
|
<mxGeometry relative="1" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="proxy-web" style="noEdgeStyle=1;rounded=0;html=1;endArrow=block;endFill=1;endSize=7;strokeWidth=1.8;strokeColor=#526C85;dashed=0;exitX=1;exitY=0.32;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" edge="1" source="proxy" target="web">
|
|
<mxGeometry relative="1" as="geometry">
|
|
<Array as="points">
|
|
<mxPoint x="563" y="519.5" />
|
|
<mxPoint x="563" y="521" />
|
|
</Array>
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="proxy-app" style="noEdgeStyle=1;rounded=0;html=1;endArrow=block;endFill=1;endSize=7;strokeWidth=1.8;strokeColor=#526C85;dashed=0;exitX=1;exitY=0.7;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" edge="1" source="proxy" target="app">
|
|
<mxGeometry relative="1" as="geometry">
|
|
<Array as="points">
|
|
<mxPoint x="549" y="542.7" />
|
|
<mxPoint x="549" y="576" />
|
|
</Array>
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="registry-pull" style="noEdgeStyle=1;rounded=0;html=1;endArrow=block;endFill=1;endSize=7;strokeWidth=1.8;strokeColor=#526C85;dashed=1;exitX=1;exitY=0.55;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" edge="1" source="v14" target="ci">
|
|
<mxGeometry relative="1" as="geometry">
|
|
<Array as="points">
|
|
<mxPoint x="912" y="548.65" />
|
|
<mxPoint x="912" y="353" />
|
|
<mxPoint x="1006.5" y="353" />
|
|
</Array>
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="app-disk" style="noEdgeStyle=1;rounded=0;html=1;endArrow=block;endFill=1;endSize=7;strokeWidth=1.8;strokeColor=#526C85;dashed=0;exitX=0;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="1" edge="1" source="app" target="ssd">
|
|
<mxGeometry relative="1" as="geometry">
|
|
<Array as="points">
|
|
<mxPoint x="599" y="629" />
|
|
</Array>
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="app-home" style="noEdgeStyle=1;rounded=0;html=1;endArrow=block;endFill=1;endSize=7;strokeWidth=1.8;strokeColor=#277260;dashed=0;exitX=1;exitY=0.6;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" edge="1" source="app" target="home">
|
|
<mxGeometry relative="1" as="geometry">
|
|
<Array as="points">
|
|
<mxPoint x="936" y="579.8" />
|
|
<mxPoint x="936" y="540.5" />
|
|
</Array>
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="v22" value="HTTPS" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontFamily=PingFang SC;fontSize=12;fontColor=#3265A1;fontStyle=1;spacingLeft=0;spacing=0;overflow=visible;" vertex="1" parent="1">
|
|
<mxGeometry x="631" y="153" width="88" height="22" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="v23" value="STCP 隧道" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontFamily=PingFang SC;fontSize=12;fontColor=#3265A1;fontStyle=1;spacingLeft=0;spacing=0;overflow=visible;" vertex="1" parent="1">
|
|
<mxGeometry x="293" y="326" width="133" height="23" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="v24" value="HTTPS 拉取镜像" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontFamily=PingFang SC;fontSize=12;fontColor=#4D6278;fontStyle=0;spacingLeft=0;spacing=0;overflow=visible;" vertex="1" parent="1">
|
|
<mxGeometry x="1019" y="327" width="164" height="23" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="v25" value="私网推理" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontFamily=PingFang SC;fontSize=12;fontColor=#277260;fontStyle=1;spacingLeft=0;spacing=0;overflow=visible;" vertex="1" parent="1">
|
|
<mxGeometry x="960" y="584" width="190" height="22" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="v26" value="" style="shape=rectangle;fillColor=#D9E3ED;strokeColor=none;" vertex="1" parent="1">
|
|
<mxGeometry x="48" y="711" width="1168" height="1" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="v27" value="公网 HTTPS 终止在入口云机。模型请求在两台 Mac 之间走家庭私网。" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;fontFamily=PingFang SC;fontSize=13;fontColor=#4D6278;fontStyle=0;spacingLeft=0;spacing=0;overflow=visible;" vertex="1" parent="1">
|
|
<mxGeometry x="48" y="720" width="1168" height="22" as="geometry" />
|
|
</mxCell>
|
|
</root>
|
|
</mxGraphModel>
|
|
</diagram>
|
|
</mxfile>
|