Update caddy
parent
d8dc4d47ea
commit
3ba03d2c0c
1 changed files with 169 additions and 88 deletions
253
caddy.md
253
caddy.md
|
@ -1,99 +1,180 @@
|
||||||
[Caddyfile](https://git.quodatum.duckdns.org/apb/thedocks/src/branch/master/caddy/Caddyfile)
|
[Caddyfile](https://git.quodatum.duckdns.org/apb/thedocks/src/branch/master/caddy/Caddyfile)
|
||||||
```mermaid
|
```mermaid
|
||||||
%%{init:{'flowchart':{'nodeSpacing': 20, 'rankSpacing': 200}}}%%
|
%%{init:{'flowchart':{'nodeSpacing': 20, 'rankSpacing': 200}}}%%
|
||||||
flowchart LR
|
// the network https://graphviz.org/docs/attrs/href/
|
||||||
|
digraph saffron {
|
||||||
|
compound = true;
|
||||||
|
rankdir = LR;
|
||||||
|
fontname="Arial";
|
||||||
|
|
||||||
git --> x1
|
node [fontname = "Arial"; shape = box;
|
||||||
emby -->x2
|
style = filled; width = "2"; fillcolor = white; target = "saffron";];
|
||||||
jellyfin --> x3
|
edge [fontname = "Arial";];
|
||||||
tvheadend --> x4
|
ratio = "0.6";
|
||||||
wiki -->x10
|
size = "100";
|
||||||
wiki-alt --> x5
|
subgraph cluster_x {
|
||||||
photoprism -->x13
|
label = "The Internet ";
|
||||||
code -->x6
|
fontsize = "40";
|
||||||
code-alt -->x11
|
node[fontsize=36;]
|
||||||
code-bmy -->x14
|
bgcolor=lightgrey;
|
||||||
kodi -->x7
|
subgraph cluster_a {
|
||||||
vpn((VPN)) -->x8
|
label = "quodatum.duckdns.org";
|
||||||
about-o -->x9
|
bgcolor = "#BDFFA4";
|
||||||
about-q -->x9
|
a1 [label = "wiki";href = "https://wiki.quodatum.duckdns.org";tooltip = "Tiddly wiki";];
|
||||||
xu4 .-> omv
|
a2 [label = "about";href = "https://about.quodatum.duckdns.org";tooltip = "about";];
|
||||||
xu4 .-> n2-plus
|
|
||||||
xu4 .-> odroid-n2
|
|
||||||
subgraph quodatum ["Quodatum domain"]
|
|
||||||
direction TB
|
|
||||||
about-q[about]
|
|
||||||
subgraph gitea
|
|
||||||
git
|
|
||||||
git-alt
|
|
||||||
end
|
|
||||||
subgraph wiki
|
|
||||||
wiki
|
|
||||||
wiki-alt
|
|
||||||
end
|
|
||||||
|
|
||||||
subgraph vscode
|
a5 [label = "oi";href = "https://oi.quodatum.duckdns.org";tooltip = "openwebUI";];
|
||||||
code
|
a3 [label = "git";href = "https://git.quodatum.duckdns.org";tooltip = "Forgejo";];
|
||||||
code-alt
|
|
||||||
code-bmy
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
subgraph orlop ["Orlop domain"]
|
}
|
||||||
direction LR
|
subgraph cluster_b {
|
||||||
about-o[about]
|
bgcolor = "#BDFFA4";
|
||||||
jellyfin
|
label = "orlop.duckdns.org";
|
||||||
emby
|
b1 [label = "about";href = "https://about.orlop.duckdns.org";tooltip = "about";];
|
||||||
tvheadend
|
b2 [label = "kodi";href = "https://kodi.orlop.duckdns.org";tooltip = "Kodi";];
|
||||||
kodi
|
b3 [label = "tvheadend";href = "https://tvheadend.orlop.duckdns.org";tooltip = "TV headend";];
|
||||||
photoprism
|
b4 [label = "emby";href = "https://emby.orlop.duckdns.org";tooltip = "Emby";];
|
||||||
end
|
b5 [label = "jellyfin";href = "https://jellyfin.orlop.duckdns.org";tooltip = "Jellyfin";];
|
||||||
|
b6 [label = "Immich";href = "https://immich.orlop.duckdns.org";tooltip = "Immich";];
|
||||||
|
}
|
||||||
|
vpn [shape = circle;width = "0.75";fillcolor="lightblue"];
|
||||||
|
}
|
||||||
|
|
||||||
subgraph xu4 ["XU4"]
|
subgraph cluster_s {
|
||||||
direction TB
|
label = "Saffron @ 80.229.26.80";
|
||||||
x5[[tiddy-wiki:8088]]
|
fontsize = "30";
|
||||||
x9[caddy]
|
bgcolor=lightgrey;
|
||||||
x8[wireguard:51820]
|
subgraph cluster_c {
|
||||||
x12[pihole]
|
label = "xu4";
|
||||||
end
|
href="http://fins.local:8090/system/xu4";
|
||||||
|
tooltip="XU4 on beszel";
|
||||||
|
bgcolor = "#FFDEAD";
|
||||||
|
c0 [label = "caddy";];
|
||||||
|
c1 [label = "basex-test:9090";href = "http://odroid.local:9090";tooltip = "Basex 10.7";];
|
||||||
|
c2 [label = "tiddy-wiki:8088";href = "http://odroid.local:8088";tooltip = "Tiddly wiki";];
|
||||||
|
c5 [label = "wireshark:4000";href = "http://odroid.local:4000";tooltip = "Wire shark";];
|
||||||
|
c4 [label = "wireguard:51820";tooltip = "VPN service";];
|
||||||
|
|
||||||
subgraph omv
|
c6 [label = "redis-test:6379";tooltip = "Redis API";];
|
||||||
direction TB
|
c7 [label = "pihole";href = "http://192.168.1.59";tooltip = "PiHole Ad blocker";];
|
||||||
x3[[jellyfin:8086]]
|
|
||||||
x2[[emby:8097]]
|
|
||||||
x1[[gitea:8300]]
|
|
||||||
x11[[vscode:8444]]
|
|
||||||
x14[[vscode:8448]]
|
|
||||||
x13[[photoprism:2342]]
|
|
||||||
x15[[rig]]
|
|
||||||
end
|
|
||||||
|
|
||||||
subgraph n2-plus
|
{rank=max;
|
||||||
direction LR
|
xu4_1 [label = "p";shape = "doubleoctagon"; width=1;
|
||||||
x4[[tvheadend:9981]]
|
href = "https://xu4.local:9443";tooltip = "portainer"; fillcolor=yellow ;];
|
||||||
x6[[vscode:2222]]
|
xu4_2 [label = "b";shape = "doubleoctagon"; width=1;
|
||||||
end
|
href = "http://fins.local:8090/system/xu4";tooltip = "beszel"; fillcolor=yellow ;];
|
||||||
|
}
|
||||||
|
xu4_1 -> c1[style=invis];
|
||||||
|
xu4_2 -> c1[style=invis];
|
||||||
|
}
|
||||||
|
|
||||||
subgraph odroid-n2
|
subgraph cluster_d {
|
||||||
x7[[kodi:2222]]
|
label = "fins";
|
||||||
x10[[tiddlywiki:8088]]
|
bgcolor = "#FFDEAD";
|
||||||
end
|
d1 [label = "ollama:11434";href = "http://fins.local:11434/";tooltip = "Ollama (AI)";];
|
||||||
%% Quodatum links
|
d2 [label = "openwebui:3001";href = "http://fins.local:3001/";tooltip = "Open WebUI";];
|
||||||
click git "https://git.quodatum.duckdns.org" "Gitea" _blank
|
d3 [label = "basex:8888";href = "http://fins.local:8888/";tooltip = "BaseX 10.7";];
|
||||||
click wiki "https://wiki.quodatum.duckdns.org" "tiddlywiki" _blank
|
d4 [label = "basex:8884";href = "http://fins.local:8884/";tooltip = "BaseX 11.3 Fusion auth";];
|
||||||
click code "https://code.quodatum.duckdns.org" "vscode" _blank
|
d5 [label = "beszel::8090";href = "http://fins.local:8090/";tooltip = "beszel (main)";];
|
||||||
%% Orlop links
|
d6 [label = "shotcut::3100";href = "http://fins.local:3100/";tooltip = "Video editor";];
|
||||||
click jellyfin "https://jellyfin.orlop.duckdns.org" "Jellyfin" _blank
|
d7 [label = "fusionauth:9011";href = "http://fins.local:9011/";tooltip = "Fusion auth";];
|
||||||
click x3 "http://omv.local:8096" "Jellyfin" _blank
|
|
||||||
|
|
||||||
classDef domain fill:#BDFFA4,stroke:#333,stroke-width:1px;
|
|
||||||
classDef server fill:#FFDEAD,stroke:#333,stroke-width:1px;
|
|
||||||
classDef Red fill:#FF9999;
|
|
||||||
classDef Amber fill:#FFDEAD;
|
|
||||||
classDef Green fill:#BDFFA4;
|
|
||||||
|
|
||||||
class orlop,quodatum domain;
|
|
||||||
class xu4,omv,n2-plus,odroid-n2 server;
|
|
||||||
|
|
||||||
|
|
||||||
|
{rank=max;
|
||||||
|
fins_1 [label = "p";shape = "doubleoctagon"; width=1;
|
||||||
|
href = "https://fins.local:9443";tooltip = "portainer"; fillcolor=yellow ;];
|
||||||
|
fins_2 [label = "b";shape = "doubleoctagon"; width=1;
|
||||||
|
href = "http://fins.local:8090/system/fins";tooltip = "beszel"; fillcolor=yellow ;];
|
||||||
|
}
|
||||||
|
fins_1 -> d1[style=invis];
|
||||||
|
fins_2 -> d1[style=invis];
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
subgraph cluster_e {
|
||||||
|
label = "omv";
|
||||||
|
bgcolor = "#FFDEAD";
|
||||||
|
e1 [label = "forgejo:8300";href = "http://omv.local:8300";tooltip = "tvheadend";];
|
||||||
|
e2 [label = "jellyfin:8096";href = "http://omv.local:8096";tooltip = "jellyfin";];
|
||||||
|
e3 [label = "emby:8097";href = "http://omv.local:8097";tooltip = "Emby";];
|
||||||
|
e4 [label = "omv:81";href = "http://omv.local:81";tooltip = "Open media vault";];
|
||||||
|
e5 [label = "vikunja:3456";href = "http://omv.local:3456/";tooltip = "Vikunja";];
|
||||||
|
e6 [label = "dockge:5001";href = "http://omv.local:5001/";tooltip = "dockge";];
|
||||||
|
e7 [label = "immich:2283";href = "http://omv.local:2283/";tooltip = "Photos";];
|
||||||
|
|
||||||
|
{rank=max;
|
||||||
|
omv_1 [label = "p";shape = "doubleoctagon"; width=1;
|
||||||
|
href = "https://omv.local:9443";tooltip = "portainer"; fillcolor=yellow ;];
|
||||||
|
omv_2 [label = "b";shape = "doubleoctagon"; width=1;
|
||||||
|
href = "http://fins.local:8090/system/omv";tooltip = "beszel"; fillcolor=yellow ;];
|
||||||
|
}
|
||||||
|
omv_1 -> e1[style=invis];
|
||||||
|
omv_2 -> e1[style=invis];
|
||||||
|
|
||||||
|
}
|
||||||
|
subgraph cluster_f {
|
||||||
|
label = "odroid-n2";
|
||||||
|
rankdir="TB"
|
||||||
|
|
||||||
|
bgcolor = "#FFDEAD";
|
||||||
|
|
||||||
|
|
||||||
|
f1 [label = "kodi:8080";href = "http://odroid-n2:8080";tooltip = "kodi";];
|
||||||
|
f2 [label = "beszel-agent";href = "http://fins.local:8090/system/fins";tooltip = "Beszel agent";];
|
||||||
|
{rank=max;
|
||||||
|
odroid_n2_1 [label = "p";shape = "doubleoctagon"; width=1;
|
||||||
|
href = "https://odroid-n2:9443";tooltip = "portainer"; fillcolor=yellow ;];
|
||||||
|
odroid_n2_2 [label = "b";shape = "doubleoctagon"; width=1;
|
||||||
|
href = "http://fins.local:8090/system/kodi";tooltip = "beszel"; fillcolor=yellow ;];
|
||||||
|
}
|
||||||
|
odroid_n2_1 -> f1[style=invis];
|
||||||
|
odroid_n2_2 -> f1[style=invis];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
};
|
||||||
|
subgraph cluster_g {
|
||||||
|
label = "n2-plus";
|
||||||
|
bgcolor = "#FFDEAD";
|
||||||
|
|
||||||
|
g1 [label = "tvheadend:9981";href = "http://n2-plus.local:9981";tooltip = "tvheadend";];
|
||||||
|
g2 [label = "glance:3050";href = "http://n2-plus.local:3050";tooltip = "glance";];
|
||||||
|
g3 [label = "spare";href = "http://n2-plus.local:19999";tooltip = "netdata";];
|
||||||
|
g4 [label = "ntopng:3000";href = "http://n2-plus.local:3000";tooltip = "ntop ng";];
|
||||||
|
|
||||||
|
{rank=max;
|
||||||
|
n2_plus_1 [label = "p";shape = "doubleoctagon"; width=1;
|
||||||
|
href = "https://n2-plus.local:9443";tooltip = "portainer"; fillcolor=yellow ;];
|
||||||
|
n2_plus_2 [label = "b";shape = "doubleoctagon"; width=1;
|
||||||
|
href = "http://fins.local:8090/system/n2-plus";tooltip = "beszel"; fillcolor=yellow ;];
|
||||||
|
}
|
||||||
|
n2_plus_1 -> g1[style=invis];
|
||||||
|
n2_plus_2 -> g1[style=invis];
|
||||||
|
}
|
||||||
|
subgraph cluster_h {
|
||||||
|
label = "velvet";
|
||||||
|
bgcolor = "#FFDEAD";
|
||||||
|
foo
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
a2 -> c0;
|
||||||
|
b1 -> c0;
|
||||||
|
a1 -> c2;
|
||||||
|
a3 -> e1;
|
||||||
|
a5 -> d2;
|
||||||
|
b2 -> f1;
|
||||||
|
b3 -> g1;
|
||||||
|
b4 -> e3;
|
||||||
|
b5 -> e2;
|
||||||
|
b6 -> e7;
|
||||||
|
vpn -> c4;
|
||||||
|
c0 -> d2 [style=invis;];
|
||||||
|
c0 -> f1 [style=invis;];
|
||||||
|
c0 -> e1 [style=invis;];
|
||||||
|
c0 -> g1 [style=invis;];
|
||||||
|
|
||||||
|
f2 -> d5;
|
||||||
|
|
||||||
|
}
|
||||||
```
|
```
|
Loading…
Add table
Reference in a new issue