summaryrefslogtreecommitdiff
path: root/macro/vue_ensemble.mmd
blob: 99bda1fc6cf2c0c54d981d2412eaeeb566559219 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
%%{init: {'theme': 'base', 'flowchart': {'nodeSpacing': 40, 'rankSpacing': 60, 'subGraphTitleMargin': {'top': 10, 'bottom': 10}}, 'themeVariables': {'primaryColor': '#4a90d9', 'lineColor': '#5c6bc0'}}}%%
flowchart LR
    subgraph external ["Acces Externe"]
        direction TB
        ddns["DDNS Namecheap<br/>arauco.online"]
        router["Routeur Swisscom<br/>192.168.99.1"]
        ddns --> router
    end

    subgraph araucaria ["araucaria 192.168.99.50/.51 - Hote KVM"]
        direction TB
        dnsmasq["dnsmasq :53"]
        kvm["KVM / virsh"]
        ssh_host["SSH :1220"]
        lvm["LVM 5.31 TB"]
    end

    subgraph chillka ["chillka 192.168.99.55 - 2GB"]
        direction TB
        gitea["Gitea :3000"]
        samba["Samba :139/445"]
        http_c["HTTP :80"]
    end

    subgraph npagnun ["npagnun 192.168.99.35 - 8GB"]
        direction TB
        keycloak["Keycloak<br/>:8080 / :8443"]
        kc_mgmt["KC Mgmt :9000"]
        pg_kc["PostgreSQL 15<br/>:5432 int"]
    end

    subgraph huitral ["huitral 192.168.99.22 - 8GB"]
        direction TB
        ha_h["Home Assistant"]
        medusa["Medusa<br/>backend :9000<br/>storefront :8000"]
        redis_h["Redis :6379"]
        vikunja_h["Vikunja :3456"]
        pg_vik["PostgreSQL 16<br/>:5432 int"]
        dertopogo["der-topogo :3000"]
        nginx_t["nginx :8080"]
    end

    subgraph lautaro ["lautaro 192.168.99.108 RPi"]
        ha_l["HA :8123<br/>non accessible"]
    end

    subgraph dormant ["LVM dormants"]
        direction TB
        d1["lemolemo .33 10GB"]
        d2["toki .44 10GB"]
        d3["copihue .11"]
        d4["huinca .66 70GB"]
        d5["kura 5GB"]
    end

    router -->|"NAT<br/>2222->1220"| ssh_host
    kvm --> chillka
    kvm --> npagnun
    kvm --> huitral
    lvm -.-> dormant

    dnsmasq -.->|"DNS"| chillka
    dnsmasq -.->|"DNS"| npagnun
    dnsmasq -.->|"DNS"| huitral
    dnsmasq -.->|"DNS"| lautaro

    keycloak --> pg_kc
    medusa --> redis_h
    vikunja_h --> pg_vik

    classDef netStyle fill:#1e3a5f,stroke:#4a90d9,color:#a8d0f0
    classDef svcStyle fill:#1e4a2e,stroke:#4a9a6a,color:#a8e0c0
    classDef vmStyle fill:#3a1e5f,stroke:#8a6ad9,color:#c8b0f0
    classDef storStyle fill:#4a3a1e,stroke:#d9a84a,color:#f0d8a8
    classDef iamStyle fill:#4a1e3a,stroke:#d94a8a,color:#f0a8c8
    classDef extStyle fill:#2a3a4a,stroke:#6a8aaa,color:#b0d0e8
    classDef dormStyle fill:#2a2a2a,stroke:#666,color:#999

    class ddns,router extStyle
    class dnsmasq,ssh_host netStyle
    class kvm,lvm svcStyle
    class gitea,samba,http_c svcStyle
    class keycloak,kc_mgmt iamStyle
    class pg_kc,pg_vik storStyle
    class ha_h,medusa,redis_h,vikunja_h,dertopogo,nginx_t svcStyle
    class ha_l dormStyle
    class d1,d2,d3,d4,d5 dormStyle