Architecture is proposed and there are also alternative architectures proposed
This commit is contained in:
1 parent
ccf9041183
commit
3426236c6c
24 files changed
+2516
No files matched your search
@@ -0,0 +1,85 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<mxfile host="app.diagrams.net" type="device" compressed="false">
|
||||
<diagram id="page1" name="Deployment — default local Linux">
|
||||
<mxGraphModel dx="1500" dy="900" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1540" pageHeight="960" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="title" value="Deployment — default local Linux" style="text;html=0;align=left;fontSize=24;fontStyle=1;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="60" y="25" width="1380" height="45" />
|
||||
</mxCell>
|
||||
<mxCell id="client" value="External clients Trust API certificate / prototype CA HTTPS bearer requests No database access" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="80" y="120" width="340" height="225" />
|
||||
</mxCell>
|
||||
<mxCell id="app" value="Supported Linux host / systemd One Health App application process Dedicated app identity Configured HTTPS listener All logical modules in-process" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="540" y="120" width="340" height="225" />
|
||||
</mxCell>
|
||||
<mxCell id="db" value="Same host: PostgreSQL process One health database profile + observations schemas Restricted application credentials Native DB lifecycle independent" style="shape=cylinder3;whiteSpace=wrap;html=0;fillColor=#f1e8fa;strokeColor=#76558d;fontSize=14;align=left;spacing=14;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="540" y="440" width="340" height="225" />
|
||||
</mxCell>
|
||||
<mxCell id="installer" value="Administrative installer (transient) Detect/provision runtime + PostgreSQL Generate configuration/secrets/certificates Migrate/register/start/verify Exit after success or clear stage failure" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#fff6df;strokeColor=#b28725;fontSize=13;align=left;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="80" y="440" width="340" height="225" />
|
||||
</mxCell>
|
||||
<mxCell id="files" value="Protected local app files Configuration / key ring / certificate No hard-coded or logged secrets Reviewed versioned public content" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#fff6df;strokeColor=#b28725;fontSize=13;align=left;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="1000" y="120" width="340" height="225" />
|
||||
</mxCell>
|
||||
<mxCell id="edge0" value="HTTPS; public guidance or authorized data" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="client" target="app">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="edge1" value="Restricted local database transport" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="app" target="db">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="edge2" value="Install unit; verify PID/HTTPS/restart/workflow" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="installer" target="app">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="edge3" value="Provision DB/schema/roles; migrate" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="installer" target="db">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="edge4" value="Load own protected settings" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="app" target="files">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="note" value="One application process, NOT five services. App stop/restart does not directly stop PostgreSQL. DB failure prevents health operations without false empty-data responses; public guidance can remain available. Colocation is a workload assumption, not measured energy optimization. No proxy/container/orchestrator required." style="rounded=0;whiteSpace=wrap;html=0;fillColor=#fff6df;strokeColor=#b28725;fontSize=13;align=left;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="60" y="770" width="1380" height="115" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
<diagram id="page2" name="Deployment — optional separate database host">
|
||||
<mxGraphModel dx="1500" dy="900" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1540" pageHeight="960" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="title" value="Deployment — optional separate database host" style="text;html=0;align=left;fontSize=24;fontStyle=1;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="60" y="25" width="1380" height="45" />
|
||||
</mxCell>
|
||||
<mxCell id="client" value="External clients HTTPS login / authorized API reads/writes" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="80" y="120" width="340" height="225" />
|
||||
</mxCell>
|
||||
<mxCell id="app" value="Host A: Linux / systemd Same single Health App application Own configuration / keys / certificate DB endpoint fully configurable" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#e8f0fe;strokeColor=#355070;fontSize=14;align=left;verticalAlign=middle;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="540" y="120" width="340" height="225" />
|
||||
</mxCell>
|
||||
<mxCell id="db" value="Host B: PostgreSQL Same health DB / owned schemas Verified encrypted DB transport Only application/admin network origins No application feature services" style="shape=cylinder3;whiteSpace=wrap;html=0;fillColor=#f1e8fa;strokeColor=#76558d;fontSize=14;align=left;spacing=14;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="1000" y="120" width="340" height="225" />
|
||||
</mxCell>
|
||||
<mxCell id="admin" value="Administrator / transient utility Preflight app + remote DB prerequisites Protected remote admin connection Provision/verify reachable configured DB Do not install unnecessary local PostgreSQL" style="rounded=0;whiteSpace=wrap;html=0;fillColor=#fff6df;strokeColor=#b28725;fontSize=13;align=left;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="540" y="440" width="340" height="225" />
|
||||
</mxCell>
|
||||
<mxCell id="edge0" value="HTTPS" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="client" target="app">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="edge1" value="Verified DB TLS; restricted DML role" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="app" target="db">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="edge2" value="Native installation/configuration" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="admin" target="app">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="edge3" value="Privileged provisioning / migration" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=0;fontSize=12;labelBackgroundColor=#ffffff;strokeColor=#46566a;dashed=1;endArrow=open;" edge="1" parent="1" source="admin" target="db">
|
||||
<mxGeometry as="geometry" relative="1" />
|
||||
</mxCell>
|
||||
<mxCell id="note" value="Location changes no application responsibility or public semantics. Runtime app needs no shared local files with DB host. Original five-machine feature-service layout is intentionally unsupported under clarified scope; US-16 revision records the incompatibility. Distributed DB may raise communication/idle cost or benefit shared DB administration." style="rounded=0;whiteSpace=wrap;html=0;fillColor=#fff6df;strokeColor=#b28725;fontSize=13;align=left;spacing=12;" vertex="1" parent="1">
|
||||
<mxGeometry as="geometry" x="60" y="770" width="1380" height="115" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
||||
Reference in new issue
Block a user