add updated container dependency diagram

This commit is contained in:
2025-08-12 00:03:03 -07:00
committed by =michael hohn
parent 750187fb12
commit fb5adf1b5f
7 changed files with 283 additions and 9 deletions

View File

@@ -1,9 +0,0 @@
## The notes/ directory
The `notes/` directory serves as staging directory for documentation. This is
the place to develop documentation and short notes. The contents of this
directory should be accessible to
1. The note authors and
2. Developers of the project
It need not be meaningful to casual users.

9
notes/README.org Normal file
View File

@@ -0,0 +1,9 @@
* The notes/ directory
The =notes/= directory serves as a staging directory for documentation.
This is the place to develop documentation and short notes.
The contents of this directory should be accessible to:
1. The note authors
2. Developers of the project
It need not be meaningful to casual users.

BIN
notes/dwg-r1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

BIN
notes/dwg-r2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

146
notes/dwg-r2.svg Normal file
View File

@@ -0,0 +1,146 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 12.2.1 (20241206.2353)
-->
<!-- Title: MRVA_Containers Pages: 1 -->
<svg width="659pt" height="315pt"
viewBox="0.00 0.00 659.00 315.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 311)">
<title>MRVA_Containers</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-311 655,-311 655,4 -4,4"/>
<text text-anchor="middle" x="325.5" y="-284" font-family="Helvetica,sans-Serif" font-size="20.00">Container Dependencies for MRVA</text>
<!-- mrvastore_init -->
<g id="node1" class="node">
<title>mrvastore_init</title>
<polygon fill="lightblue" stroke="none" points="239.38,-247 239.38,-270.75 338.12,-270.75 338.12,-247 239.38,-247"/>
<text text-anchor="start" x="243.38" y="-254.45" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00">mrvastore&#45;init</text>
<text text-anchor="start" x="243.38" y="-233.5" font-family="Helvetica,sans-Serif" font-size="10.00">Image: minio/mc</text>
<polygon fill="none" stroke="black" points="238.38,-226 238.38,-271.75 339.12,-271.75 339.12,-226 238.38,-226"/>
</g>
<!-- mrvastore -->
<g id="node2" class="node">
<title>mrvastore</title>
<polygon fill="lightblue" stroke="none" points="401.5,-241 401.5,-264.75 642,-264.75 642,-241 401.5,-241"/>
<text text-anchor="start" x="488.75" y="-248.45" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00">mrvastore</text>
<text text-anchor="start" x="405.5" y="-227.5" font-family="Helvetica,sans-Serif" font-size="10.00">Image: minio/minio:RELEASE.2024&#45;06&#45;11T03&#45;13&#45;30Z</text>
<polygon fill="none" stroke="black" points="400.5,-220 400.5,-265.75 643,-265.75 643,-220 400.5,-220"/>
</g>
<!-- mrvastore_init&#45;&gt;mrvastore -->
<g id="edge1" class="edge">
<title>mrvastore_init&#45;&gt;mrvastore</title>
<path fill="none" stroke="black" d="M346.85,-247.39C359.13,-247.07 372.61,-246.72 386.46,-246.36"/>
<polygon fill="black" stroke="black" points="386.38,-248.12 391.33,-246.24 386.28,-244.62 386.38,-248.12"/>
</g>
<!-- client_ghmrva -->
<g id="node3" class="node">
<title>client_ghmrva</title>
<polygon fill="lightblue" stroke="none" points="9,-127 9,-150.75 176,-150.75 176,-127 9,-127"/>
<text text-anchor="start" x="47.88" y="-134.45" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00">client&#45;ghmrva</text>
<text text-anchor="start" x="13" y="-113.5" font-family="Helvetica,sans-Serif" font-size="10.00">Image: client&#45;ghmrva&#45;container:0.4.0</text>
<polygon fill="none" stroke="black" points="8,-106 8,-151.75 177,-151.75 177,-106 8,-106"/>
</g>
<!-- server -->
<g id="node7" class="node">
<title>server</title>
<polygon fill="lightblue" stroke="none" points="230,-103 230,-126.75 347.5,-126.75 347.5,-103 230,-103"/>
<text text-anchor="start" x="268.5" y="-110.45" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00">server</text>
<text text-anchor="start" x="234" y="-89.5" font-family="Helvetica,sans-Serif" font-size="10.00">Image: mrva&#45;server:0.4.0</text>
<polygon fill="none" stroke="black" points="229,-58 229,-127.75 348.5,-127.75 348.5,-58 229,-58"/>
</g>
<!-- client_ghmrva&#45;&gt;server -->
<g id="edge10" class="edge">
<title>client_ghmrva&#45;&gt;server</title>
<path fill="none" stroke="black" d="M184.94,-111.93C194.95,-110.07 205.04,-108.2 214.78,-106.4"/>
<polygon fill="black" stroke="black" points="215.04,-108.13 219.64,-105.5 214.41,-104.69 215.04,-108.13"/>
</g>
<!-- code_server -->
<g id="node4" class="node">
<title>code_server</title>
<polygon fill="lightblue" stroke="none" points="12.38,-55 12.38,-78.75 172.62,-78.75 172.62,-55 12.38,-55"/>
<text text-anchor="start" x="54.25" y="-62.45" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00">code&#45;server</text>
<text text-anchor="start" x="16.38" y="-41.5" font-family="Helvetica,sans-Serif" font-size="10.00">Image: code&#45;server&#45;initialized:0.4.0</text>
<polygon fill="none" stroke="black" points="11.38,-34 11.38,-79.75 173.62,-79.75 173.62,-34 11.38,-34"/>
</g>
<!-- code_server&#45;&gt;server -->
<g id="edge9" class="edge">
<title>code_server&#45;&gt;server</title>
<path fill="none" stroke="black" d="M181.53,-73.19C192.69,-75.26 204.01,-77.36 214.9,-79.37"/>
<polygon fill="black" stroke="black" points="214.53,-81.09 219.77,-80.28 215.17,-77.64 214.53,-81.09"/>
</g>
<!-- hepc -->
<g id="node5" class="node">
<title>hepc</title>
<polygon fill="lightblue" stroke="none" points="444.62,-169 444.62,-192.75 598.88,-192.75 598.88,-169 444.62,-169"/>
<text text-anchor="start" x="506" y="-176.45" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00">hepc</text>
<text text-anchor="start" x="448.62" y="-155.5" font-family="Helvetica,sans-Serif" font-size="10.00">Image: mrva&#45;hepc&#45;container:0.4.0</text>
<polygon fill="none" stroke="black" points="443.62,-148 443.62,-193.75 599.88,-193.75 599.88,-148 443.62,-148"/>
</g>
<!-- rabbitmq -->
<g id="node6" class="node">
<title>rabbitmq</title>
<polygon fill="lightblue" stroke="none" points="448.75,-97 448.75,-120.75 594.75,-120.75 594.75,-97 448.75,-97"/>
<text text-anchor="start" x="492.5" y="-104.45" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00">rabbitmq</text>
<text text-anchor="start" x="452.75" y="-83.5" font-family="Helvetica,sans-Serif" font-size="10.00">Image: rabbitmq:3&#45;management</text>
<polygon fill="none" stroke="black" points="447.75,-76 447.75,-121.75 595.75,-121.75 595.75,-76 447.75,-76"/>
</g>
<!-- server&#45;&gt;mrvastore -->
<g id="edge3" class="edge">
<title>server&#45;&gt;mrvastore</title>
<path fill="none" stroke="black" d="M347.34,-131.55C350.58,-134.55 353.67,-137.67 356.5,-140.88 378.62,-165.92 366.36,-186.06 392.5,-206.88 395.16,-208.99 397.93,-210.98 400.8,-212.86"/>
<polygon fill="black" stroke="black" points="399.6,-214.17 404.78,-215.31 401.44,-211.2 399.6,-214.17"/>
</g>
<!-- server&#45;&gt;hepc -->
<g id="edge5" class="edge">
<title>server&#45;&gt;hepc</title>
<path fill="none" stroke="black" d="M356.48,-121.44C368.39,-126.17 380.74,-130.84 392.5,-134.88 404.44,-138.97 417.11,-142.96 429.67,-146.7"/>
<polygon fill="black" stroke="black" points="429.07,-148.35 434.37,-148.08 430.06,-144.99 429.07,-148.35"/>
</g>
<!-- server&#45;&gt;rabbitmq -->
<g id="edge2" class="edge">
<title>server&#45;&gt;rabbitmq</title>
<path fill="none" stroke="black" d="M356.25,-94.6C380.34,-95.23 407.91,-95.94 433.51,-96.61"/>
<polygon fill="black" stroke="black" points="433.41,-98.36 438.46,-96.74 433.5,-94.86 433.41,-98.36"/>
</g>
<!-- postgres -->
<g id="node8" class="node">
<title>postgres</title>
<polygon fill="lightblue" stroke="none" points="475.75,-25 475.75,-48.75 567.75,-48.75 567.75,-25 475.75,-25"/>
<text text-anchor="start" x="493.25" y="-32.45" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00">postgres</text>
<text text-anchor="start" x="479.75" y="-11.5" font-family="Helvetica,sans-Serif" font-size="10.00">Image: postgres:15</text>
<polygon fill="none" stroke="black" points="474.75,-4 474.75,-49.75 568.75,-49.75 568.75,-4 474.75,-4"/>
</g>
<!-- server&#45;&gt;postgres -->
<g id="edge4" class="edge">
<title>server&#45;&gt;postgres</title>
<path fill="none" stroke="black" d="M356.32,-73.33C368.36,-69.83 380.8,-66.23 392.5,-62.88 414.85,-56.47 439.43,-49.55 461.04,-43.5"/>
<polygon fill="black" stroke="black" points="461.25,-45.26 465.59,-42.22 460.31,-41.88 461.25,-45.26"/>
</g>
<!-- agent -->
<g id="node9" class="node">
<title>agent</title>
<polygon fill="lightblue" stroke="none" points="231.5,-175 231.5,-198.75 346,-198.75 346,-175 231.5,-175"/>
<text text-anchor="start" x="270.75" y="-182.45" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00">agent</text>
<text text-anchor="start" x="235.5" y="-161.5" font-family="Helvetica,sans-Serif" font-size="10.00">Image: mrva&#45;agent:0.4.0</text>
<polygon fill="none" stroke="black" points="230.5,-154 230.5,-199.75 347,-199.75 347,-154 230.5,-154"/>
</g>
<!-- agent&#45;&gt;mrvastore -->
<g id="edge7" class="edge">
<title>agent&#45;&gt;mrvastore</title>
<path fill="none" stroke="black" d="M354.95,-196.02C367.41,-199.65 380.35,-203.4 392.5,-206.88 400.99,-209.31 409.8,-211.81 418.65,-214.32"/>
<polygon fill="black" stroke="black" points="418.03,-215.96 423.32,-215.64 418.98,-212.59 418.03,-215.96"/>
</g>
<!-- agent&#45;&gt;hepc -->
<g id="edge8" class="edge">
<title>agent&#45;&gt;hepc</title>
<path fill="none" stroke="black" d="M354.71,-175.19C377.96,-174.58 404.62,-173.89 429.67,-173.24"/>
<polygon fill="black" stroke="black" points="429.53,-175 434.48,-173.12 429.44,-171.5 429.53,-175"/>
</g>
<!-- agent&#45;&gt;rabbitmq -->
<g id="edge6" class="edge">
<title>agent&#45;&gt;rabbitmq</title>
<path fill="none" stroke="black" d="M352.08,-150.07C365.32,-144.75 379.29,-139.41 392.5,-134.88 405.8,-130.31 420.02,-125.88 433.97,-121.78"/>
<polygon fill="black" stroke="black" points="434.16,-123.54 438.48,-120.47 433.19,-120.18 434.16,-123.54"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 9.0 KiB

128
notes/system-structure.org Normal file
View File

@@ -0,0 +1,128 @@
* system structure
#+BEGIN_SRC dot :file dwg-r2.svg :cmdline -Kdot -Tsvg
digraph MRVA_Containers {
rankdir=LR;
node [shape=plaintext fontname="Helvetica"];
edge [arrowsize=0.5];
// Title
label="Container Dependencies for MRVA";
labelloc=top;
fontsize=20;
fontname="Helvetica";
// mrvastore-init
mrvastore_init [
shape=plaintext
label=<
<table border="1" cellborder="0" cellspacing="0" cellpadding="4">
<tr><td bgcolor="lightblue"><b>mrvastore-init</b></td></tr>
<tr><td align="left"><font point-size="10">Image: minio/mc</font></td></tr>
</table>
>
];
// mrvastore
mrvastore [
shape=plaintext
label=<
<table border="1" cellborder="0" cellspacing="0" cellpadding="4">
<tr><td bgcolor="lightblue"><b>mrvastore</b></td></tr>
<tr><td align="left"><font point-size="10">Image: minio/minio:RELEASE.2024-06-11T03-13-30Z</font></td></tr>
</table>
>
];
// client-ghmrva
client_ghmrva [
shape=plaintext
label=<
<table border="1" cellborder="0" cellspacing="0" cellpadding="4">
<tr><td bgcolor="lightblue"><b>client-ghmrva</b></td></tr>
<tr><td align="left"><font point-size="10">Image: client-ghmrva-container:0.4.0</font></td></tr>
</table>
>
];
// code-server
code_server [
shape=plaintext
label=<
<table border="1" cellborder="0" cellspacing="0" cellpadding="4">
<tr><td bgcolor="lightblue"><b>code-server</b></td></tr>
<tr><td align="left"><font point-size="10">Image: code-server-initialized:0.4.0</font></td></tr>
</table>
>
];
// hepc
hepc [
shape=plaintext
label=<
<table border="1" cellborder="0" cellspacing="0" cellpadding="4">
<tr><td bgcolor="lightblue"><b>hepc</b></td></tr>
<tr><td align="left"><font point-size="10">Image: mrva-hepc-container:0.4.0</font></td></tr>
</table>
>
];
// rabbitmq
rabbitmq [
shape=plaintext
label=<
<table border="1" cellborder="0" cellspacing="0" cellpadding="4">
<tr><td bgcolor="lightblue"><b>rabbitmq</b></td></tr>
<tr><td align="left"><font point-size="10">Image: rabbitmq:3-management</font></td></tr>
</table>
>
];
// server
server [
shape=plaintext
label=<
<table border="1" cellborder="0" cellspacing="0" cellpadding="4">
<tr><td bgcolor="lightblue"><b>server</b></td></tr>
<tr><td align="left"><font point-size="10">Image: mrva-server:0.4.0</font></td></tr>
<tr><td port="slot1"></td></tr>
<tr><td port="slot2"></td></tr>
<tr><td port="slot3"></td></tr>
</table>
>
];
// postgres
postgres [
shape=plaintext
label=<
<table border="1" cellborder="0" cellspacing="0" cellpadding="4">
<tr><td bgcolor="lightblue"><b>postgres</b></td></tr>
<tr><td align="left"><font point-size="10">Image: postgres:15</font></td></tr>
</table>
>
];
// agent
agent [
shape=plaintext
label=<
<table border="1" cellborder="0" cellspacing="0" cellpadding="4">
<tr><td bgcolor="lightblue"><b>agent</b></td></tr>
<tr><td align="left"><font point-size="10">Image: mrva-agent:0.4.0</font></td></tr>
</table>
>
];
// Edges (dependencies)
mrvastore_init -> mrvastore;
server -> rabbitmq;
server -> mrvastore;
server -> postgres;
server -> hepc;
agent -> rabbitmq;
agent -> mrvastore;
agent -> hepc;
code_server -> server;
client_ghmrva -> server;
}
#+END_SRC

Binary file not shown.