cat ./projects/homelab
Homelab platform
systemctl status homelab
What it is
The Ubuntu server at home that I use to practice what I'd build for a customer: modular services, one telemetry pipeline, and documentation good enough to rebuild from. This website's back end runs on it.
The platform
16 services in modular Docker Compose (each service in its own folder, pulled together with include:): Prometheus, Loki, Tempo, Grafana, Grafana Alloy, an OpenTelemetry Collector, Node Exporter, cAdvisor, ntopng, an NVIDIA GPU exporter, Falco, Portainer, Nginx Proxy Manager, Jellyfin, a landing page and n8n. Add-ons like n8n are Compose profiles, switched on in .env.
Grafana shows metrics, logs and traces side by side:
- Metrics: Prometheus scrapes the exporters and the collector, with 15-day retention.
- Logs: Grafana Alloy replaced Promtail. It ships container logs (through the Docker API),
/var/logand journald to Loki, with 30-day retention. - Traces: the OpenTelemetry Collector receives OTLP and forwards traces to Tempo, with 14-day retention.
Security detection: Falco watches syscalls through eBPF. It flags shells opened inside containers, reads of sensitive files and writes to system directories. Grafana alert rules on auth.log (SSH, sudo), dpkg.log and Falco events send alerts to a chat webhook, and a Security dashboard sits next to the rest.
Access goes through Nginx Proxy Manager with TLS, and the host firewall only allows SSH, HTTP and HTTPS.
I recently audited the repo for over-engineering and cut what wasn't pulling its weight:
- Collector receivers that duplicated Node Exporter and cAdvisor.
- A log job that stored every syslog line twice.
- Duplicated setup scripts and docs.
404ambitions on top of it
Ghost runs headless in Docker with MySQL 8. Authoring happens there; the public site is a static Astro build on Cloudflare Pages that reads the Ghost Content API. When I publish in Ghost, a webhook triggers a Pages rebuild.
A cloudflared tunnel makes only outbound connections, so no router ports are open. Cloudflare Access protects the Ghost admin.
Uploads go to Cloudflare R2 through an S3-compatible storage adapter, so the server keeps nothing but the database.
The Ghost stack joins the homelab's monitoring network and has its own Grafana dashboard. Ghost now sends traces to Tempo as well as metrics.
The status panel at the top of this page is push-only. A small reporter on the server writes a status snapshot to R2 every minute, and the site reads that file. Nothing on the internet can reach into the LAN.
Status and next steps
Running and growing. Next: demo containers for projects on their own subdomains, and a more detailed public dashboard with uptime history and host health. It will use the same push-only design.