Deploy Vaultwarden + Caddy + Uptime Kuma + Beszel Homelab Stack on Netcup
Deploying the ultimate Homelab Starter Stack—Vaultwarden password vault, Caddy 2 auto-HTTPS, Uptime Kuma status alerts, Beszel telemetry, and CrowdSec IPS—on Netcup VPS 1000 G12.5 (4 vCores, 8 GB RAM, 2.5 Gbit/s Traffic Flatrate) costs just €11.17/month net effective (€13.29 gross; €12.18/mo regular 12M net, €10.35/mo on 24M) with the 1-month-free voucher, or €1.85/month net (€1.43/mo net eff. w/ 36nc) on VPS pico G11.5s, saving €454/year over €49/month SaaS tools.
| Tier | Workload Scale | CPU / RAM / Disk | Matched Netcup Plan |
|---|---|---|---|
| Dedicated Vault Appliance | 1–10 users, Vaultwarden + Caddy + Beszel Agent (< 220 MB RAM) | 1 Shared vCore · 1 GB RAM · 30 GB | VPS pico G11.5s (€1.85/mo · €1.43/mo eff. w/ 36nc) |
| Full Homelab Cloud Core (Recommended) | Full 6-container stack + 7 GB free RAM for n8n, Stirling-PDF, RSS | 4 vCores (G12.5) · 8 GB RAM · 256 GB | VPS 1000 G12.5 (1 Month Free · €11.17/mo net) |
| Company Password + DevOps Hub | 50–250 team vaults + SSO/LDAP sync + Coolify + dedicated CPU | 4 Dedicated EPYC 9645/9655 · 8 GB RAM · 256 GB | RS 1000 G12.5 (2 Months Free · €15.22/mo net) |
services:
caddy:
image: caddy:2-alpine
container_name: homelab-caddy
restart: unless-stopped
ports: ["80:80", "443:443", "443:443/udp"]
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- ./caddy-data:/data
- ./caddy-logs:/var/log/caddy
crowdsec:
image: crowdsecurity/crowdsec:latest
container_name: homelab-crowdsec
restart: unless-stopped
environment:
COLLECTIONS: "crowdsecurity/caddy crowdsecurity/linux"
volumes:
- ./crowdsec-db:/var/lib/crowdsec/data
- ./crowdsec-cfg:/etc/crowdsec
- ./caddy-logs:/var/log/caddy:ro
vaultwarden:
image: vaultwarden/server:latest
container_name: vaultwarden
restart: unless-stopped
environment:
DOMAIN: "https://${VW_DOMAIN:-vault.yourdomain.eu}"
SIGNUPS_ALLOWED: "false"
INVITATIONS_ALLOWED: "false"
WEBSOCKET_ENABLED: "true"
ADMIN_TOKEN: "${VW_ADMIN_ARGON2_HASH}"
volumes: ["./vw-data:/data"]
uptime-kuma:
image: louislam/uptime-kuma:1
container_name: uptime-kuma
restart: unless-stopped
volumes: ["./kuma-data:/app/data"]
beszel:
image: henrygd/beszel:latest
container_name: beszel-hub
restart: unless-stopped
volumes: ["./beszel-data:/beszel_data"]
beszel-agent:
image: henrygd/beszel-agent:latest
container_name: beszel-agent
restart: unless-stopped
network_mode: host
environment:
PORT: "45876"
KEY: "${BESZEL_SSH_PUBKEY}"
volumes: ["/var/run/docker.sock:/var/run/docker.sock:ro"]- • 1 Month Free (€12.18 net / €14.49 gross saved; eff. €11.17/mo net!)
- • 4 vCore (x86) + 8 GB ECC RAM + 128 GB SSD + 2.5 Gbit/s port
- • Unlimited Traffic (>2 TB/24h → 200 Mbit/s); DE, AT, NL, USA & SG
Works for new & existing accounts — opens directly in an empty Netcup cart.
Why Does Rust-Based Vaultwarden Use 98% Less RAM Than Official Bitwarden Enterprise?
Official self-hosted Bitwarden Unified / Enterprise deployments orchestrate eleven .NET Core and MSSQL containers requiring 4 GB to 6 GB of RAM plus paid organization seats to unlock TOTP authenticator codes, emergency access, and shared family collections. Vaultwarden reimplements the complete Bitwarden Client API in memory-safe Rust atop SQLite (with WAL mode enabled), consuming an astonishing 22 MB to 40 MB of resident RAM at idle while supporting every official Bitwarden iOS, Android, macOS, Windows, CLI, and Chrome/Firefox browser extension natively—including FIDO2 WebAuthn passkeys, Bitwarden Send encrypted file links, and SSH key agent autofill. Hardening Vaultwarden for public exposure requires setting SIGNUPS_ALLOWED=false and INVITATIONS_ALLOWED=false after initial onboarding, hashing ADMIN_TOKEN with Argon2id (owasp-recommended PHC string), and enforcing Duo, YubiKey, or TOTP two-factor authentication across every user vault so zero-knowledge AES-256-CBC client ciphertexts remain impenetrable even on public cloud infrastructure.
Generate your Argon2id admin token safely on the Netcup host before starting the stack by running docker run --rm -it vaultwarden/server /vaultwarden hash --preset owasp, and escape any $ characters as $$ if pasting directly inside docker-compose.yml (or load cleanly from a chmod 600 .env file).
| Metric / Feature | Official Bitwarden Self-Hosted | Vaultwarden (Rust) |
|---|---|---|
| Idle Container RAM | 3,800–5,200 MB (.NET + MSSQL) | 22–40 MB (Single Rust Binary) |
| TOTP & Passkey Autofill | Requires paid Families/Teams plan | 100% Free & Included (GPL-3.0) |
| Organization Shared Vaults | Per-seat annual licensing | Unlimited Collections & Users |
| Database Backup Complexity | Heavy MSSQL dump pipelines | Single atomic SQLite db.sqlite3 file |
Bitwarden browser extensions and iOS/Android apps refuse to initialize WebCrypto PBKDF2/Argon2id key derivation over plain HTTP. Always place Caddy 2 in front of Vaultwarden with valid TLS.
How Do Caddy 2 Auto-HTTPS & CrowdSec IPS Lock Down Public Homelab Subdomains?
Exposing a password manager and monitoring dashboards directly to the internet demands automatic TLS certificate rotation paired with behavioral brute-force mitigation at the edge. Caddy 2 provisions and renews Let’s Encrypt or ZeroSSL TLS 1.3 certificates automatically with HTTP/3 QUIC enabled out of the box, eliminating complex Certbot cronjobs while proxying WebSocket vault-sync notifications seamlessly to Vaultwarden port 80. Structured JSON access logs emitted by Caddy feed directly into CrowdSec—an open-source, collaborative Intrusion Prevention System (IPS) that parses HTTP request patterns and Linux SSH logs against community threat-intelligence blocklists. Whenever a botnet probes /admin, triggers repeated 401/403 login failures, or scans for .env vulnerabilities, CrowdSec issues an immediate 4-hour ban across both firewall netfilter tables and Caddy’s bouncer middleware while consuming under 95 MB of memory—blocking 99.4% of automated credential-stuffing scanners before packets ever touch Vaultwarden.
For maximum defense in depth, add a Caddy route matcher that blocks /admin entirely from public IPv4/IPv6 addresses and permits /admin access exclusively from your private Tailscale 100.64.0.0/10 subnet.
- Zero-Touch Wildcard SSL: Pair Caddy’s DNS-01 Cloudflare/deSEC plugin to issue *.homelab.yourdomain.eu certificates without exposing internal subdomain names in public CT logs.
- Install Host Firewall Bouncer: Add crowdsec-firewall-bouncer-nftables on Debian/Ubuntu so SSH port-scanners and HTTP attackers are dropped directly in kernel space.
- Strict Security Headers: Enable HSTS (Strict-Transport-Security), X-Frame-Options DENY, and Content-Security-Policy in three lines of Caddyfile syntax.
Why Pair Uptime Kuma & Beszel Instead of Heavy Prometheus + Grafana Stacks?
Traditional Prometheus, Node Exporter, Loki, and Grafana observability stacks routinely consume 1.2 GB to 2.5 GB of RAM alongside gigabytes of constant time-series disk churn—complete overkill for lean personal clouds and agency VPS nodes. Pairing Uptime Kuma with Beszel delivers comprehensive external and internal observability inside less than 130 MB of combined resident RAM. Uptime Kuma executes 20-second HTTP(S), TCP, DNS, TLS-expiry, and Docker container health checks, publishing sleek public status pages and firing instant webhook alerts to Telegram, Discord, Slack, Pushover, or self-hosted ntfy within seconds of an outage. Complementing external synthetic checks, Beszel (built in Go atop PocketBase) pairs a 25 MB web hub with a tiny 12 MB host agent that graphs per-container Docker CPU, memory, NVMe disk I/O, and network bandwidth trends across all your Netcup VPS and Root Server nodes with zero complex PromQL configuration.
Running Uptime Kuma on an independent Netcup VPS (separate from your primary home NAS or production Root Server) solves the classic "who watches the watchman" trap: if your home fiber drops or a production deploy fails, Netcup’s Nuremberg backbone still dispatches your Telegram alert immediately.
Toggle "Certificate Expiry Notification" at 14 and 7 days across every HTTPS monitor in Uptime Kuma so DNS misconfigurations never cause surprise expired-SSL browser warnings.
Netcup VPS pico G11.5s (€1.85/mo net) vs VPS 1000 G12.5 (€11.17/mo net): Sizing & Hourly Backups
Because all six containers in this starter blueprint (Vaultwarden, Caddy, CrowdSec, Uptime Kuma, Beszel Hub, and Beszel Agent) consume roughly 280 MB of combined resident RAM, builders have two compelling Netcup hardware paths. Minimalists seeking an isolated password and monitoring appliance can deploy onto Netcup VPS pico G11.5s (€1.85/month net / €2.20 gross on 12M with €0 setup, or €1.43/month net effective in Year 1 with the 36nc €5 voucher—packing 1 vCore, 1 GB RAM, 30 GB SSD, and a 1 Gbit/s Nuremberg port). However, most self-hosters choose Netcup VPS 1000 G12.5 at €11.17/month net effective (€13.29 gross; regular 12M €12.18/mo net, 24M €10.35/mo) using the 1-month-free voucher—gaining 4 vCores, 8 GB RAM, and a 2.5 Gbit/s EU/US Traffic Flatrate port (temporary 200 Mbit/s shaping only if 24h traffic exceeds 2 TB). That leaves 7.4 GB of free RAM to add n8n, Stirling-PDF, Linkwarden, and FreshRSS behind the same Caddy proxy while saving €454/year over SaaS.
Automate hourly sqlite3 .backup snapshots piped through Restic or Litestream to replicate your ~15 MB Vaultwarden vault to encrypted off-site S3 storage. Never copy a live SQLite database with raw cp while Vaultwarden is writing WAL frames; always invoke sqlite3 /data/db.sqlite3 ".backup /tmp/vw-backup.sqlite3" alongside RSA key and attachments archiving (or use ttionya/vaultwarden-backup) before encrypting with age or Restic.
| Service Layer | RAM Footprint | Fits VPS pico G11.5s (1 GB)? | Fits VPS 1000 G12.5 (8 GB)? |
|---|---|---|---|
| Vaultwarden + Caddy 2 + Beszel | ~95 MB | Yes (plenty of room) | Yes (< 2% of RAM) |
| + Uptime Kuma + CrowdSec IPS | + ~185 MB | Yes (~550 MB free) | Yes (7.4 GB still free!) |
| + n8n + Stirling-PDF + FreshRSS + Homepage | + ~1,400 MB | No (Exceeds 1 GB) | Yes (5.9 GB still free!) |
| Effective Net Monthly Price | — | €1.85/mo net (€1.43 eff. w/ 36nc) | €11.17/mo net eff. (1M Free code) |
Popular Self-Hosted App Blueprints
Self-hosting Coolify or Dokploy transforms a Linux server into an automated Git-push PaaS with Traefik/Caddy SSL, PR previews, and managed databases, requiring 4 cores and 8 GB RAM to survive Nixpacks build spikes. Netcup RS 1000 G12.5 (4 dedicated AMD EPYC™ 9645 or 9655 cores, €15.22/mo net eff. on 12M with 2 free months via 6874nc; €15.52/mo net on 24M) replaces €85+/mo Vercel and Render bills.
Self-hosting n8n in Queue Mode with PostgreSQL 16 and Redis 7 requires 4 vCores and 4–8 GB RAM for high-throughput webhook reliability. Deploying n8n Community Edition on Netcup VPS 1000 G12.5 (4 vCores, 8 GB RAM, 2.5 Gbit/s Traffic Flatrate) costs €11.17/mo net effective (€13.29 gross; regular 12M €12.18/mo net / €14.49 gross, €10.35/mo net on 24M) with a 1-month-free voucher, replacing €50–€60/mo n8n Cloud Pro execution caps and saving €526/yr.
Deploying a private RustDesk ID/Relay server (hbbs/hbbr with -k _ key enforcement) alongside a verified Tailscale custom DERP node on Netcup VPS 1000 G12.5 (4 vCores, 8 GB RAM, 2.5 Gbit/s Traffic Flatrate in EU & USA) costs €11.76/month net effective with the €5 voucher (36nc)—or €11.17/month net with the 1-month-free voucher, and just €1.85/month net (€1.43/mo eff. w/ 36nc) on VPS pico G11.5s—saving €807/year vs €79/month TeamViewer fees.
Self-hosting Nextcloud Hub (PHP-FPM, Redis, PostgreSQL 16, and Collabora Office) on a Netcup RS 1000 G12.5 (4 dedicated AMD EPYC™ 9645 or 9655 cores, 8 GB DDR5 ECC RAM, local NVMe, 2.5 Gbit/s Traffic Flatrate) costs €15.22/month net effective with the 2-months-free voucher (6874nc), replacing €165/month Microsoft 365 / Dropbox fees under 100% German/Austrian GDPR sovereignty.
Frequently Asked Questions
What happens to my passwords if my Netcup VPS goes offline temporarily?
Every official Bitwarden desktop, mobile, and browser client caches an encrypted read-only copy of your vault locally on your device. Even if your VPS is undergoing kernel maintenance, you can still unlock, search, and autofill every password, TOTP code, and passkey offline!
Is VPS 1000 G12.5 (€11.17/mo net) better than RS 1000 G12.5 (€15.22/mo net) for a homelab starter stack?
For lightweight I/O-idle homelab apps (Vaultwarden, Uptime Kuma, Beszel, FreshRSS, Linkwarden, n8n), VPS 1000 G12.5 with the 1-month-free voucher hits the sweet spot at €11.17/mo net (€13.29 gross; €10.35/mo net on 24M) with a 2.5 Gbit/s Traffic Flatrate port across Nuremberg, Vienna, Amsterdam, or Manassas USA. Spend the extra €4.05/mo net for RS 1000 G12.5 (€15.22/mo net eff. w/ 6874nc, 4 dedicated AMD EPYC™ 9645 or 9655 cores) when you plan to add CPU-intensive services like Immich ML, Mailcow ClamAV, or game servers.
How do I safely back up Vaultwarden so I never get locked out in a disaster?
Follow the 3-2-1 rule: schedule hourly/nightly encrypted backups of /vw-data (specifically db.sqlite3 via sqlite3 .backup, rsa_key.pem, config.json, and attachments/) to an external S3 bucket or home NAS, and store your encryption recovery passphrase offline on paper alongside a monthly Bitwarden encrypted JSON export.
Can Vaultwarden send email invitations and 2FA alerts on Netcup?
Yes. Configure SMTP_HOST, SMTP_PORT=587 (or 465), SMTP_SECURITY=force_tls, and credentials inside Vaultwarden’s environment variables pointing either to your Netcup Webhosting/Mailcow mailbox or any transactional SMTP provider so emergency-access and new-device login alerts arrive instantly.