starting with container diagram

This commit is contained in:
Michael Hohn
2024-12-06 11:36:49 -08:00
committed by =Michael Hohn
parent baf20fa7af
commit ba66cb9258
2 changed files with 127 additions and 0 deletions

Binary file not shown.

127
notes/system-structure.svg Normal file
View File

@@ -0,0 +1,127 @@
<?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 10.0.1 (20240210.2158)
-->
<!-- Title: DockerComposeDemo Pages: 1 -->
<svg width="746pt" height="271pt"
viewBox="0.00 0.00 746.00 271.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 267)">
<title>DockerComposeDemo</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-267 742,-267 742,4 -4,4"/>
<text text-anchor="middle" x="369" y="-240" font-family="Helvetica,sans-Serif" font-size="20.00">Container Dependencies for Demo</text>
<!-- dbssvc -->
<g id="node1" class="node">
<title>dbssvc</title>
<g id="a_node1"><a xlink:href="../demo/containers/dbsdata/Dockerfile" xlink:title="dbssvc\n(./demo/containers/dbsdata/Dockerfile)" target="_blank">
<path fill="#b2dfee" stroke="#b2dfee" d="M726,-150C726,-150 501.5,-150 501.5,-150 495.5,-150 489.5,-144 489.5,-138 489.5,-138 489.5,-124 489.5,-124 489.5,-118 495.5,-112 501.5,-112 501.5,-112 726,-112 726,-112 732,-112 738,-118 738,-124 738,-124 738,-138 738,-138 738,-144 732,-150 726,-150"/>
<text text-anchor="middle" x="613.75" y="-132.7" font-family="Helvetica,sans-Serif" font-size="14.00">dbssvc</text>
<text text-anchor="middle" x="613.75" y="-117.7" font-family="Helvetica,sans-Serif" font-size="14.00">(./demo/containers/dbsdata/Dockerfile)</text>
</a>
</g>
</g>
<!-- dbstore -->
<g id="node2" class="node">
<title>dbstore</title>
<path fill="#b2dfee" stroke="#b2dfee" d="M401.75,-150C401.75,-150 331,-150 331,-150 325,-150 319,-144 319,-138 319,-138 319,-124 319,-124 319,-118 325,-112 331,-112 331,-112 401.75,-112 401.75,-112 407.75,-112 413.75,-118 413.75,-124 413.75,-124 413.75,-138 413.75,-138 413.75,-144 407.75,-150 401.75,-150"/>
<text text-anchor="middle" x="366.38" y="-132.7" font-family="Helvetica,sans-Serif" font-size="14.00">dbstore</text>
<text text-anchor="middle" x="366.38" y="-117.7" font-family="Helvetica,sans-Serif" font-size="14.00">(minio/minio)</text>
</g>
<!-- dbstore&#45;&gt;dbssvc -->
<g id="edge1" class="edge">
<title>dbstore&#45;&gt;dbssvc</title>
<path fill="none" stroke="black" d="M414.11,-131C433.97,-131 458.23,-131 482.86,-131"/>
<polygon fill="black" stroke="black" points="482.62,-132.75 487.62,-131 482.62,-129.25 482.62,-132.75"/>
</g>
<!-- client_ghmrva -->
<g id="node3" class="node">
<title>client_ghmrva</title>
<g id="a_node3"><a xlink:href="../client/containers/ghmrva/Dockerfile" xlink:title="client&#45;ghmrva\n(./client/containers/ghmrva/Dockerfile)" target="_blank">
<path fill="#b2dfee" stroke="#b2dfee" d="M231.25,-178C231.25,-178 12,-178 12,-178 6,-178 0,-172 0,-166 0,-166 0,-152 0,-152 0,-146 6,-140 12,-140 12,-140 231.25,-140 231.25,-140 237.25,-140 243.25,-146 243.25,-152 243.25,-152 243.25,-166 243.25,-166 243.25,-172 237.25,-178 231.25,-178"/>
<text text-anchor="middle" x="121.62" y="-160.7" font-family="Helvetica,sans-Serif" font-size="14.00">client&#45;ghmrva</text>
<text text-anchor="middle" x="121.62" y="-145.7" font-family="Helvetica,sans-Serif" font-size="14.00">(./client/containers/ghmrva/Dockerfile)</text>
</a>
</g>
</g>
<!-- code_server -->
<g id="node4" class="node">
<title>code_server</title>
<g id="a_node4"><a xlink:href="../client/containers/vscode/Dockerfile" xlink:title="code&#45;server\n(./client/containers/vscode/Dockerfile)" target="_blank">
<path fill="#b2dfee" stroke="#b2dfee" d="M229.75,-234C229.75,-234 13.5,-234 13.5,-234 7.5,-234 1.5,-228 1.5,-222 1.5,-222 1.5,-208 1.5,-208 1.5,-202 7.5,-196 13.5,-196 13.5,-196 229.75,-196 229.75,-196 235.75,-196 241.75,-202 241.75,-208 241.75,-208 241.75,-222 241.75,-222 241.75,-228 235.75,-234 229.75,-234"/>
<text text-anchor="middle" x="121.62" y="-216.7" font-family="Helvetica,sans-Serif" font-size="14.00">code&#45;server</text>
<text text-anchor="middle" x="121.62" y="-201.7" font-family="Helvetica,sans-Serif" font-size="14.00">(./client/containers/vscode/Dockerfile)</text>
</a>
</g>
</g>
<!-- rabbitmq -->
<g id="node5" class="node">
<title>rabbitmq</title>
<path fill="#b2dfee" stroke="#b2dfee" d="M441.5,-94C441.5,-94 291.25,-94 291.25,-94 285.25,-94 279.25,-88 279.25,-82 279.25,-82 279.25,-68 279.25,-68 279.25,-62 285.25,-56 291.25,-56 291.25,-56 441.5,-56 441.5,-56 447.5,-56 453.5,-62 453.5,-68 453.5,-68 453.5,-82 453.5,-82 453.5,-88 447.5,-94 441.5,-94"/>
<text text-anchor="middle" x="366.38" y="-76.7" font-family="Helvetica,sans-Serif" font-size="14.00">rabbitmq</text>
<text text-anchor="middle" x="366.38" y="-61.7" font-family="Helvetica,sans-Serif" font-size="14.00">(rabbitmq:3&#45;management)</text>
</g>
<!-- server -->
<g id="node6" class="node">
<title>server</title>
<g id="a_node6"><a xlink:href="../cmd/server/Dockerfile" xlink:title="server\n(./cmd/server/Dockerfile)" target="_blank">
<path fill="#b2dfee" stroke="#b2dfee" d="M191.5,-122C191.5,-122 51.75,-122 51.75,-122 45.75,-122 39.75,-116 39.75,-110 39.75,-110 39.75,-96 39.75,-96 39.75,-90 45.75,-84 51.75,-84 51.75,-84 191.5,-84 191.5,-84 197.5,-84 203.5,-90 203.5,-96 203.5,-96 203.5,-110 203.5,-110 203.5,-116 197.5,-122 191.5,-122"/>
<text text-anchor="middle" x="121.62" y="-104.7" font-family="Helvetica,sans-Serif" font-size="14.00">server</text>
<text text-anchor="middle" x="121.62" y="-89.7" font-family="Helvetica,sans-Serif" font-size="14.00">(./cmd/server/Dockerfile)</text>
</a>
</g>
</g>
<!-- server&#45;&gt;dbstore -->
<g id="edge2" class="edge">
<title>server&#45;&gt;dbstore</title>
<path fill="none" stroke="black" d="M203.79,-112.36C239.59,-116.49 280.64,-121.23 312.41,-124.89"/>
<polygon fill="black" stroke="black" points="311.96,-126.6 317.13,-125.44 312.36,-123.12 311.96,-126.6"/>
</g>
<!-- server&#45;&gt;rabbitmq -->
<g id="edge3" class="edge">
<title>server&#45;&gt;rabbitmq</title>
<path fill="none" stroke="black" d="M203.79,-93.64C225.84,-91.09 249.88,-88.32 272.52,-85.71"/>
<polygon fill="black" stroke="black" points="272.6,-87.46 277.37,-85.15 272.2,-83.99 272.6,-87.46"/>
</g>
<!-- artifactstore -->
<g id="node7" class="node">
<title>artifactstore</title>
<path fill="#b2dfee" stroke="#b2dfee" d="M401.75,-38C401.75,-38 331,-38 331,-38 325,-38 319,-32 319,-26 319,-26 319,-12 319,-12 319,-6 325,0 331,0 331,0 401.75,0 401.75,0 407.75,0 413.75,-6 413.75,-12 413.75,-12 413.75,-26 413.75,-26 413.75,-32 407.75,-38 401.75,-38"/>
<text text-anchor="middle" x="366.38" y="-20.7" font-family="Helvetica,sans-Serif" font-size="14.00">artifactstore</text>
<text text-anchor="middle" x="366.38" y="-5.7" font-family="Helvetica,sans-Serif" font-size="14.00">(minio/minio)</text>
</g>
<!-- server&#45;&gt;artifactstore -->
<g id="edge4" class="edge">
<title>server&#45;&gt;artifactstore</title>
<path fill="none" stroke="black" d="M203.76,-89.27C217.29,-85.55 230.93,-80.87 243.25,-75 261.55,-66.28 261.34,-56.5 279.25,-47 289.66,-41.48 301.35,-36.79 312.69,-32.92"/>
<polygon fill="black" stroke="black" points="312.94,-34.68 317.14,-31.45 311.84,-31.36 312.94,-34.68"/>
</g>
<!-- agent -->
<g id="node8" class="node">
<title>agent</title>
<g id="a_node8"><a xlink:href="../cmd/agent/Dockerfile" xlink:title="agent\n(./cmd/agent/Dockerfile)" target="_blank">
<path fill="#b2dfee" stroke="#b2dfee" d="M189.62,-66C189.62,-66 53.62,-66 53.62,-66 47.62,-66 41.62,-60 41.62,-54 41.62,-54 41.62,-40 41.62,-40 41.62,-34 47.62,-28 53.62,-28 53.62,-28 189.62,-28 189.62,-28 195.62,-28 201.62,-34 201.62,-40 201.62,-40 201.62,-54 201.62,-54 201.62,-60 195.62,-66 189.62,-66"/>
<text text-anchor="middle" x="121.62" y="-48.7" font-family="Helvetica,sans-Serif" font-size="14.00">agent</text>
<text text-anchor="middle" x="121.62" y="-33.7" font-family="Helvetica,sans-Serif" font-size="14.00">(./cmd/agent/Dockerfile)</text>
</a>
</g>
</g>
<!-- agent&#45;&gt;dbstore -->
<g id="edge5" class="edge">
<title>agent&#45;&gt;dbstore</title>
<path fill="none" stroke="black" d="M201.84,-60.21C216,-64.01 230.34,-68.85 243.25,-75 261.55,-83.72 261.34,-93.5 279.25,-103 289.66,-108.52 301.35,-113.21 312.69,-117.08"/>
<polygon fill="black" stroke="black" points="311.84,-118.64 317.14,-118.55 312.94,-115.32 311.84,-118.64"/>
</g>
<!-- agent&#45;&gt;rabbitmq -->
<g id="edge7" class="edge">
<title>agent&#45;&gt;rabbitmq</title>
<path fill="none" stroke="black" d="M202.11,-56.17C224.7,-58.77 249.51,-61.63 272.8,-64.32"/>
<polygon fill="black" stroke="black" points="272.34,-66.03 277.51,-64.86 272.74,-62.55 272.34,-66.03"/>
</g>
<!-- agent&#45;&gt;artifactstore -->
<g id="edge6" class="edge">
<title>agent&#45;&gt;artifactstore</title>
<path fill="none" stroke="black" d="M202.11,-37.83C238.28,-33.66 280.1,-28.84 312.36,-25.11"/>
<polygon fill="black" stroke="black" points="312.41,-26.87 317.18,-24.56 312.01,-23.39 312.41,-26.87"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 8.7 KiB