19 caddy
Andy Bunce edited this page 2022-09-19 21:05:31 +01:00

Caddyfile

%%{init:{'flowchart':{'nodeSpacing': 20, 'rankSpacing': 200}}}%%
flowchart LR
    
     git --> x1
     emby -->x2
     jellyfin --> x3
     tvheadend --> x4
     wiki -->x10
     wiki-alt --> x5
     photoprism -->x13
     code -->x6
     code-alt -->x11
     code-bmy -->x14
     kodi -->x7
     vpn((VPN)) -->x8
     about-o -->x9
     about-q -->x9
     xu4 .-> omv
     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
            code
            code-alt
            code-bmy
            end
        end
        
        subgraph orlop ["Orlop domain"]
           direction LR
            about-o[about]
            jellyfin
            emby
            tvheadend
            kodi
            photoprism
        end
        
    subgraph xu4 ["XU4"]
        direction TB
        x5[[tiddy-wiki:8088]]
        x9[caddy]  
        x8[wireguard:51820]
        x12[pihole]
     end 
     
    subgraph omv
      direction TB
      x3[[jellyfin:8086]]
      x2[[emby:8097]]
      x1[[gitea:8300]]
      x11[[vscode:8444]]
      x14[[vscode:8448]]
      x13[[photoprism:2342]]
      x15[[rig]]
    end
        
    subgraph n2-plus
    direction LR
      x4[[tvheadend:9981]]
      x6[[vscode:2222]]
    end
         
    subgraph odroid-n2
      x7[[kodi:2222]]
      x10[[tiddlywiki:8088]]
    end
%% Quodatum links
click git "https://git.quodatum.duckdns.org" "Gitea" _blank
click wiki "https://wiki.quodatum.duckdns.org" "tiddlywiki" _blank
click code "https://code.quodatum.duckdns.org" "vscode" _blank
%% Orlop links
click jellyfin "https://jellyfin.orlop.duckdns.org" "Jellyfin" _blank
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;