[skip ci] Use native diagram proportions verified in manual layout
myfileagent-python-ci/pipeline/head There was a failure building this commit

This commit is contained in:
2026-11-22 01:28:59 +00:00
parent 99f04d48a8
commit 6fc01c26a9
+17 -16
View File
@@ -123,30 +123,31 @@ Local image IDs are not represented as registry manifest digests.
\section{Private networks, proxy and minimal settings} \section{Private networks, proxy and minimal settings}
\begin{figure}[htbp] \begin{figure}[htbp]
\centering \centering
\resizebox{\linewidth}{!}{% \begingroup
\linespread{1}\selectfont
\begin{tikzpicture}[ \begin{tikzpicture}[
box/.style={draw=devopsBlue,rounded corners=2pt,align=center, box/.style={draw=devopsBlue,rounded corners=2pt,align=center,
font=\fontsize{9}{11}\selectfont,text width=3.8cm,minimum height=1.2cm,inner sep=5pt,fill=white}, font=\fontsize{10}{13}\selectfont,text width=3.8cm,minimum height=1.6cm,inner sep=6pt,fill=white},
newbox/.style={box,fill=devopsLightBlue}, newbox/.style={box,fill=devopsLightBlue},
store/.style={box,fill=black!5}, store/.style={box,fill=black!5},
arrow/.style={-{Stealth[length=2.5mm]},thick,draw=devopsBlue}, arrow/.style={-{Stealth[length=2.5mm]},thick,draw=devopsBlue},
edgeLabel/.style={font=\footnotesize,fill=white,inner sep=3pt,align=center}] edgeLabel/.style={font=\footnotesize,fill=white,inner sep=3pt,align=center}]
% Explicit grid positions reserve separate lanes for every connection. % Explicit grid positions reserve separate lanes for every connection.
\node[box] (browser) at (0,0) {Customer / student\\TA browser}; \node[box] (browser) at (0,0) {Customer / student\\TA browser};
\node[box] (proxy) at (0,-2.8) {Existing Caddy\\TLS :443 / HTTP redirect :80}; \node[box] (proxy) at (0,-3.2) {Existing Caddy\\TLS :443\\HTTP redirect :80};
\node[box] (old) at (-4.8,-2.8) {Existing Gitea / Jenkins\\Pricing: staging + production}; \node[box] (old) at (-4.8,-3.2) {Existing Gitea / Jenkins\\Pricing: staging\\and production};
\node[store] (oldvol) at (-4.8,0) {Existing Gitea data\\Jenkins home / TLS storage\\Pricing configuration}; \node[store] (oldvol) at (-4.8,0) {Existing Gitea data\\Jenkins home / TLS storage\\Pricing configuration};
\node[box] (monitor) at (4.8,-2.8) {Prometheus / Blackbox\\Grafana / Node Exporter}; \node[box] (monitor) at (4.8,-3.2) {Prometheus / Blackbox\\Grafana / Node Exporter};
\node[store] (monvol) at (4.8,0) {Metrics history\\Dashboards / alert rules\\Exporter configuration}; \node[store] (monvol) at (4.8,0) {Metrics history\\Dashboards / alert rules\\Exporter configuration};
\draw[draw=devopsBlue,dashed,rounded corners=4pt] \draw[draw=devopsBlue,dashed,rounded corners=4pt]
(-7.05,-13.5) rectangle (7.05,-4.6); (-7.05,-15.0) rectangle (7.05,-5.1);
\node[anchor=north west,font=\small\bfseries,text=devopsBlue] \node[anchor=north west,font=\small\bfseries,text=devopsBlue]
at (-6.85,-4.8) {New Zammad private network}; at (-6.85,-5.3) {New Zammad private network};
\node[newbox] (nginx) at (0,-6.1) {Zammad nginx :8080\\Private + proxy networks}; \node[newbox] (nginx) at (0,-6.9) {Zammad nginx :8080\\Private + proxy networks};
\node[newbox] (app) at (0,-8.9) {Rails :3000 / websocket\\Scheduler / one-shot init}; \node[newbox] (app) at (0,-10.1) {Rails :3000 / websocket\\Scheduler / one-shot init};
\node[newbox] (data) at (-4.8,-8.9) {PostgreSQL :5432\\Redis :6379\\Memcached :11211\\Elasticsearch :9200}; \node[newbox] (data) at (-4.8,-10.1) {PostgreSQL :5432\\Redis :6379\\Memcached :11211\\Elasticsearch :9200};
\node[newbox] (backup) at (4.8,-8.9) {Official backup container\\Private project network}; \node[newbox] (backup) at (4.8,-10.1) {Official backup container\\Private project network};
\node[store] (vol) at (0,-11.9) {Named database / search / Redis\\Shared application storage\\Backup volumes}; \node[store] (vol) at (0,-13.4) {Named database / search / Redis\\Shared application storage\\Backup volumes};
\draw[arrow] (browser.south)--node[edgeLabel,right]{HTTPS}(proxy.north); \draw[arrow] (browser.south)--node[edgeLabel,right]{HTTPS}(proxy.north);
\draw[arrow] (proxy.west)--(old.east); \draw[arrow] (proxy.west)--(old.east);
\draw[arrow] (old.north)--(oldvol.south); \draw[arrow] (old.north)--(oldvol.south);
@@ -156,10 +157,10 @@ Local image IDs are not represented as registry manifest digests.
\draw[arrow] (nginx.south)--(app.north); \draw[arrow] (nginx.south)--(app.north);
\draw[arrow] (app.west)--(data.east); \draw[arrow] (app.west)--(data.east);
\draw[arrow] (app.south)--(vol.north); \draw[arrow] (app.south)--(vol.north);
\draw[arrow] (data.south)--(-4.8,-11.9)--(vol.west); \draw[arrow] (data.south)--(-4.8,-13.4)--(vol.west);
\draw[arrow] (backup.south)--(4.8,-11.9)--(vol.east); \draw[arrow] (backup.south)--(4.8,-13.4)--(vol.east);
\end{tikzpicture}% \end{tikzpicture}
} \endgroup
\caption{Actual logical service and storage boundaries. Only Zammad nginx \caption{Actual logical service and storage boundaries. Only Zammad nginx
joins \texttt{myfileagent-gitea\_edge}; all dependencies remain on joins \texttt{myfileagent-gitea\_edge}; all dependencies remain on
\texttt{dos-support\_default}. Dashed line is the HTTPS probe through Caddy. \texttt{dos-support\_default}. Dashed line is the HTTPS probe through Caddy.