about summary refs log tree commit diff
path: root/imgs/main.tex
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-09-16 19:14:15 +0200
committerEmile <hanemile@protonmail.com>2019-09-16 19:14:15 +0200
commit0f6b750c6eb3c218e6b816b0bd7b4dbbd45c5deb (patch)
tree633bb8992b56bb362459009e497e284df2b27065 /imgs/main.tex
parenta6a97af98abaa52c8b20673782e96ac623086367 (diff)
added the setup images
Diffstat (limited to 'imgs/main.tex')
-rw-r--r--imgs/main.tex49
1 files changed, 49 insertions, 0 deletions
diff --git a/imgs/main.tex b/imgs/main.tex
new file mode 100644
index 0000000..284e593
--- /dev/null
+++ b/imgs/main.tex
@@ -0,0 +1,49 @@
+\documentclass[tikz,convert={outfile=\jobname.svg}]{standalone}
+    %\documentclass{article}
+
+\usepackage{tikz}
+\usetikzlibrary{positioning,fit,calc}
+
+\begin{document}
+    \begin{tikzpicture}[
+			block/.style={
+				draw,
+				fill=white,
+				rectangle, 
+				minimum width={width("TLE2JSON")+2pt},
+				minimum height={height("TLE")+2pt},
+				font=\small,
+				node distance=2cm
+			}
+		]
+
+		% left blocks
+        \node[block] (TLE) {TLE};
+        \node[block, below = of TLE] (TLE2JSON) {TLE2JSON};
+        \node[block, left = of TLE2JSON] (celestrack) {celestrack};
+        \node[block, below = of TLE2JSON] (cache) {cache};
+
+		% right blocks
+        \node[block, right = of TLE] (drone) {drone};
+        \node[block, below = of drone, right = of TLE2JSON] (prometheus) {prometheus};
+        \node[block, below = of prometheus, right = of cache] (grafana) {grafana};
+
+		% left clusters
+		\node[draw, fit=(TLE), label=left:{git.darknebu.la}] (git.darknebu.la) {}; 
+		\node[draw, fit=(TLE2JSON) (cache), label=below:{YOU}, draw=red] (you) {}; 
+		\node[draw, fit=(celestrack), label=left:{the internet}] (the internet) {}; 
+
+		% right clusters
+		\node[draw, fit=(drone) (prometheus) (grafana), label=right:{nbg1}] (nbg1) {}; 
+
+		\path[draw, ->, line width=0.175mm, >=stealth] (grafana.north) -- (prometheus.south) node[midway, fill=white] {data};
+		\path[draw, ->, line width=0.175mm, >=stealth] (prometheus.north) -- (drone.south) node[midway, fill=white] {metrics};
+		\path[draw, ->, line width=0.175mm, >=stealth] (drone.west) -- (TLE.east) node[midway, fill=white] {ci};
+		\path[draw, ->, line width=0.175mm, >=stealth] (prometheus.west) -- (TLE2JSON.east) node[midway, fill=white] {metrics};
+		\path[draw, ->, line width=0.175mm, >=stealth] (TLE2JSON.west) -- (celestrack.east) node[midway, fill=white]{TLE};
+		\path[draw, ->, line width=0.175mm, >=stealth] (TLE2JSON.north) -- (TLE.south) node[midway, fill=white] {go module};
+		\path[draw, ->, line width=0.175mm, >=stealth] (TLE2JSON.south) -- (cache.north) node[midway, fill=white] {TLE};
+
+
+    \end{tikzpicture}
+\end{document}