14 Services on One Server: My Self-Hosted Stack for €15/Month
Why I Stopped Paying for SaaS
A few years ago, my monthly tool spending was getting absurd. Analytics here, monitoring there, form backends, status pages - each one "only" €10-30/month. The total crept past €200 before I noticed.
More importantly, every service held my data hostage. Want to export? Good luck with proprietary formats. GDPR compliance? "Trust us." Vendor goes down or changes pricing? Start over.
So I consolidated everything onto a single Hetzner Cloud server. The result: 14 production services running on a CPX32 (4 vCPU, 8 GB RAM) for €15.39/month.
The Full Stack
Here's what runs on that one machine:
| Service |
Purpose |
Replaces |
| Traefik v3 |
Reverse proxy + auto-SSL |
Cloudflare Tunnel / Nginx Proxy Manager |
| Grafana |
Dashboards + alerting |
Datadog (~€30/mo) |
| Prometheus |
Metrics collection |
Datadog |
| Loki + Promtail |
Log aggregation |
Papertrail (~€15/mo) |
| Plausible CE |
Privacy-first analytics |
Google Analytics / Fathom (~€14/mo) |
| Uptime Kuma |
Status page + monitoring |
Better Uptime (~€20/mo) |
| CrowdSec |
Threat detection + IP banning |
Cloudflare Pro (~€20/mo) |
| Dolibarr ERP (x2) |
Invoicing + CRM |
Lexoffice (~€25/mo) |
| Form API |
Contact form backend |
Formspree (~€10/mo) |
| 5 websites |
React + Nginx containers |
Vercel / Netlify Pro (~€20/mo each) |
| Restic |
Encrypted backups |
Backblaze B2 |
| Webhook Autodeploy |
Git push → rebuild |
GitHub Actions minutes |
That's north of €200/month in SaaS equivalents, replaced by one €15 server and a €3 storage box for backups.
Docker Compose Architecture
Every service lives in its own directory under /opt/stacks/. Each has its own docker-compose.yml. They share a single Docker network called proxy that Traefik listens on.
This separation matters. When I update Grafana, nothing else restarts. When a website rebuild fails, monitoring stays up.
The pattern for every stack looks the same:
services:
app:
image: whatever:latest
labels:
- "traefik.enable=true"
- "traefik.http.routers.app.rule=Host(`app.hoedl.co`)"
- "traefik.http.routers.app.tls.certresolver=letsencrypt"
networks:
- proxy
restart: unless-stopped
networks:
proxy:
external: true
Traefik picks up the labels automatically. No config files to maintain per service. Add a stack, define the host rule, and SSL just works via Let's Encrypt.
Traefik + Let's Encrypt: Zero-Touch SSL
Traefik is the single entry point. Port 80 redirects to 443. Every service gets its own subdomain with automatic certificate provisioning and renewal.
I spent zero minutes managing SSL certificates this year. That alone is worth the setup effort.
The key insight: Traefik's Docker provider watches for container events. Start a container with the right labels, and it's live with HTTPS in seconds. Remove it, and Traefik drops the route instantly.
Monitoring That Actually Works
The Grafana + Prometheus + Loki stack gives me everything Datadog does for the workloads I care about:
- Prometheus scrapes container metrics via cAdvisor every 15 seconds - CPU, RAM, network, disk per container
- Node Exporter tracks system-level metrics - disk space, load, memory pressure
- Loki ingests all Docker logs via Promtail, with auto-discovery for new containers
- Grafana ties it together with dashboards and alert rules
I have alerts for disk usage above 85%, RAM above 90%, CPU sustained above 90%, and container restart loops. They fire to Telegram. I've caught two disk-filling incidents before they became outages.
Security: CrowdSec + fail2ban
Security on a public server is non-negotiable. My setup has two layers:
CrowdSec analyzes Traefik access logs and SSH logs in real time. It runs 47 attack scenarios covering brute force, CVE exploits, and automated scanners. When it detects malicious behavior, the firewall bouncer bans the IP via iptables on the DOCKER-USER chain - so bans apply to all containerized services without touching SSH access.
fail2ban handles SSH specifically. Three failed attempts and you're banned.
The community threat intelligence sharing from CrowdSec is the real differentiator. My server benefits from attack patterns detected across thousands of other nodes.
Backup Strategy
Backups use restic to a Hetzner Storage Box (1 TB, ~€3/month). A cron job runs at 3 AM daily:
- Dumps all MariaDB and PostgreSQL databases
- Backs up every stack's config, volumes, and data
- Applies retention: 7 daily, 4 weekly, 6 monthly snapshots
- Everything is encrypted at rest
Restore is a single restic restore command. I've tested it. Twice.
The Real Monthly Cost
| Item |
Cost |
| Hetzner CPX32 |
€15.39 |
| Hetzner Storage Box (BX11) |
~€3.00 |
| Domains (amortized) |
~€3.00 |
| Total |
~€21/month |
Compare that to the SaaS equivalent stack at €200+/month. Over a year, that's saving roughly €2,200 - and I own every byte of data.
When NOT to Self-Host
I'm not dogmatic about this. Self-hosting makes sense when:
- You have the skills to maintain it
- You want full data sovereignty (especially for GDPR in the EU)
- The services are critical but not life-or-death (I'm not running a hospital)
Don't self-host if:
- Uptime requirements are extreme. My single-server setup has no failover. A hardware failure means downtime until Hetzner provisions a new instance and I restore from backup. For my use case - small business sites and internal tools - that's acceptable.
- You don't want to be on-call. When CrowdSec flags a false positive at midnight, that's my problem to fix.
- The SaaS genuinely does it better. I use GitHub for code hosting and Brevo for transactional email. Some things aren't worth replicating.
The Takeaway
Self-hosted infrastructure isn't about proving you can do it. It's about owning your stack, understanding every layer, and spending €21 instead of €200 for the same outcome.
Start with Traefik and one service. Add monitoring early. Automate backups before you need them. The rest grows naturally from there.