Infrastructure Overview

Hetzner k3s cluster, Traefik ingress, cert-manager TLS, private registry, staging/prod namespaces.

Traffic flow

graph LR
  User[User Browser] -->|HTTPS| Traefik[Traefik Ingress (IngressClass traefik)]
  Traefik -->|Host: lomavuokraus.fi / staging.lomavuokraus.fi| Service[Service port 80 to 3000]
  Service --> Pod[Next.js Pods (2)]
  Pod --> DB[(PostgreSQL 46.62.203.202)]
  Pod --> SMTP[smtp.sohva.org]
  subgraph Cluster [k3s Cluster hel1 cx22 157.180.66.64]
    Traefik
    Service
    Pod
    CertMgr[cert-manager]
    Secret[Secrets: lomavuokraus-web-secrets]
    CM[ConfigMap: lomavuokraus-web-config]
  end
  CertMgr -->|TLS| Traefik
  Registry[registry.halla-aho.net/thalla/lomavuokraus-web] -->|pull| Pod
  DNS[lomavuokraus.fi / staging.lomavuokraus.fi / api.lomavuokraus.fi] --> Traefik
          
Mermaid renders directly in the browser; edit the graph in this file to update.

Cluster & Namespaces

Registry

App Manifests

Runtime Environment