add network map

This commit is contained in:
Malin Freeborn 2024-12-02 16:00:00 +01:00
parent febce132d8
commit 54c560bb4f
Signed by: andonome
GPG Key ID: 52295D2377F4D70F
3 changed files with 40 additions and 10 deletions

View File

@ -1,3 +1,2 @@
output: map.txt map.txt: map.ge
map.txt: map.md graph-easy --boxart < $< > $@
cat map.md | graph-easy --boxart > map.txt

38
map.ge Normal file
View File

@ -0,0 +1,38 @@
# Network map of Decentrala. Use with:
# graph-easy --boxart < netmap.txt
(Mox
[ m_router ]{label: router ;}
[ wireguard ] --> [ m_nginx ]{label: nginx-11 ;}
[ wiki ] --> [ m_nginx ]
[ gitea ] --> [ m_nginx ]
[ tor11 ] --> [ m_nginx ] --> [ m_router ]
[ smtp ]
)
(Serverko
[ s_nginx ]{label: nginx-12 ;}
[ s_router ]{label: router ;}
[ s_nginx ] --> [ nextcloud ]
[ s_nginx ] --> [ tor12 ]
[ s_nginx ] --> [ s_router ]
)
(splint.rs
[ soft-serve ]
[ mail-cache ]
)
[ tor12 ] <..> [ onions ] <..> [ tor11 ]
[ m_router ] <..> [ BGP ] <..> [ madness ] <..> [ s_router ]
[ smtp ] <..> [ madness ] <..> [ mail-cache ]
[ A ]{label: "" ;}
[ B ]{label: "" ;}
[ C ]{label: "" ;}
[ D ]{label: "" ;}
[ onions ] <..> [ A ]
[ onions ] <..> [ B ]
[ A ] <..> [ C ]
[ B ] <..> [ D ]
(Sharks! [ D ])

7
map.md
View File

@ -1,7 +0,0 @@
### Network Map Generator ###
# Used with graph-easy.
# Install graph easy with `apt install perl-graph-easy`.
[ gateway ] -- ssh-2222 --> [ gitea11 (192.168.1.36) ]
[ gateway ] --> [ ssh11 (192.168.1.20) ]