my-homelab-configs/infra/heimdall/README.md

2.0 KiB

Heimdall

Heimdall runs on the Debian host as an always-on Docker Compose service. It is intentionally outside Kubernetes so the lab navigation dashboard remains available during cluster rebuilds or outages.

Deploy or refresh it from the Debian server:

./jeannie deploy-heimdall

The default install root is /data/homelab-heimdall. Runtime config is stored under /data/homelab-heimdall/data/config, and the dashboard is published on port 8082 before the OCI edge proxy exposes it as https://heimdall.lab2025.duckdns.org/.

links.json is generated by scripts/generate-heimdall-links. The generator discovers public DuckDNS services from homelab.yml, Kubernetes Ingress hosts from apps/**/*.yaml, and opt-in local services from Compose labels or Kubernetes annotations. ./jeannie deploy-heimdall refreshes the generated file before copying the stack to the Debian host.

ARR stack dashboard links are intentionally rendered as Debian LAN http://server-ip:port/ URLs from homelab.yml instead of their public DuckDNS hostnames. This keeps Radarr, Sonarr, Prowlarr, qBittorrent, Kapowarr, Suwayomi, and Maintainerr reachable from the dashboard only on the internal network while public routes can continue to exist separately.

For Docker Compose services that should appear on the dashboard, add labels next to the service definition:

labels:
  homelab.heimdall.enabled: "true"
  homelab.heimdall.title: Jellyfin
  homelab.heimdall.url: "http://{debian.lan_ip}:${JELLYFIN_PORT:-8096}/"
  homelab.heimdall.description: Media streaming server

For local-only Kubernetes services, add matching annotations and provide the URL explicitly:

metadata:
  annotations:
    homelab.heimdall/enabled: "true"
    homelab.heimdall/title: Example App
    homelab.heimdall/url: "http://192.168.100.240/example/"

The sidecar container reruns seed-heimdall.py periodically and upserts links into Heimdall's SQLite database without deleting manually added tiles.