Infrastructure and monitoring: Docker Compose stacks
The pieces that sit around your applications: reverse proxies that terminate TLS, dashboards and metrics collectors, log pipelines, uptime checks and tools for managing Docker itself. These stacks are small on purpose, so you can run them on the same host as your apps or on a separate monitoring box. Pay attention to the services that mount the Docker socket, because that access is equivalent to root on the host; each page says when a stack needs it and how to limit the exposure. Combine a proxy stack with any app stack to publish it under its own hostname.
Caddy 2 Reverse Proxy + Static Web Server
Caddy 2 in Docker Compose: serve a static site, proxy /api to a backend and get automatic HTTPS on a real domain. Pinned images and .env configuration.
Gitea Git Server with PostgreSQL 16
Self-hosted Gitea with PostgreSQL 16 in Docker Compose: web Git hosting, SSH on port 2222, a healthcheck-gated database start and persistent volumes.
Loki, Promtail and Grafana Log Stack
Collect Linux host logs with Loki and Promtail in Docker Compose and query them in Grafana. Pinned images, persistent volumes and a localhost-only Grafana port.
Portainer CE Web UI for Docker Management
Run Portainer CE in Docker Compose as a web UI for containers, images and volumes. Bound to localhost on HTTPS 9443, with persistent data and a pinned image.
Prometheus + Grafana + Node Exporter
Monitor a Linux host with Prometheus, Node Exporter and Grafana in Docker Compose. Pinned images, .env secrets, retention settings and localhost-only ports.
Traefik v3 with Automatic HTTPS (Let's Encrypt)
Traefik v3 in Docker Compose with label-based routing, HTTP to HTTPS redirect and automatic Let's Encrypt certificates. Pinned images and .env configuration.
Uptime Kuma Status Monitoring
Self-host Uptime Kuma in Docker Compose to monitor websites, ports and APIs with alerts. Pinned image, persistent data volume and a localhost-only port binding.
wg-easy WireGuard VPN with Web UI
Run wg-easy in Docker Compose to host a WireGuard VPN with a web UI for peers. Covers NET_ADMIN, IP forwarding and a localhost-only admin panel.
Woodpecker CI Server and Agent with Gitea
Run a Woodpecker CI server and agent in Docker Compose, connected to Gitea over OAuth. Covers the shared agent secret, the Docker socket risk and HTTPS setup.