Self-Host Bitwarden with Vaultwarden: UK Guide (2026)
Self-host Bitwarden via Vaultwarden on Raspberry Pi, Synology Docker, or Proxmox LXC. UK guide with reverse-proxy, Tailscale, and backup strategy.

Vaultwarden is the most popular self-hosting alternative to Bitwarden's official cloud (or Bitwarden's self-host server which has heavier requirements). It implements the same API in Rust with a small memory footprint - a Raspberry Pi 4 handles a 3-person household comfortably. This guide walks the UK-specific setup: hardware choices, Docker compose, HTTPS via Caddy or NGINX Proxy Manager, Tailscale for private access without exposing your home to the public internet, and the backup strategy that prevents one bad SD card from losing all your passwords.
What hardware do you need for self-hosting Vaultwarden?
| Raspberry Pi 4 (4GB+) | Synology Docker (existing NAS) | Proxmox LXC container | |
|---|---|---|---|
| Tier | Most-common self-host platform | Lowest-friction if you have a Synology | Best for existing homelab |
| Hardware cost (UK) | £70-£90 (Pi 4 4GB) + £15 SD card + £8 power | £0 incremental (uses existing NAS) | £0 incremental (uses existing Proxmox host) |
| Power draw | ~5W idle, ~7W under load | Negligible incremental | Negligible incremental |
| Concurrent users | 5-10 (household scale) | 5-15 (depending on Synology model) | 10-50 (CPU + RAM allocation dependent) |
| Setup difficulty | Moderate (Pi OS install + Docker) | Easy (Container Manager + docker-compose) | Moderate (LXC create + Docker-in-LXC + reverse proxy) |
| Best for | First-time self-hosters; minimal-impact household-only setup | Synology owners with DSM 7.0+; family-scale setups with photo/video also on the NAS | Existing Proxmox/Promox VE homelab users; consolidation alongside other self-hosted services |
Step-by-step: Vaultwarden on a Raspberry Pi
Install Raspberry Pi OS Lite (64-bit)
Use Raspberry Pi Imager to flash Pi OS Lite 64-bit to a 32GB+ SD card. In Imager's settings panel, enable SSH + set username/password + configure WiFi (or use Ethernet for stability). The 64-bit OS is required - 32-bit ARM Docker compatibility for Vaultwarden has stability issues.
Install Docker + Docker Compose
After first boot, SSH in and run: `curl -fsSL https://get.docker.com | sh` then `sudo usermod -aG docker $USER` then `sudo apt install docker-compose-plugin -y`. Log out and back in for the docker group to take effect. Verify with `docker --version` + `docker compose version`.
Create the Vaultwarden docker-compose.yml
Create `/home/$USER/vaultwarden/docker-compose.yml` with the standard Vaultwarden image config: image vaultwarden/server:latest, restart unless-stopped, environment vars for ADMIN_TOKEN (a long random string), DOMAIN (your eventual https URL), SIGNUPS_ALLOWED=false (after initial admin signup), volume mounts for ./data:/data. The official Vaultwarden wiki at github.com/dani-garcia/vaultwarden/wiki has the canonical example.
Start Vaultwarden
`cd ~/vaultwarden && docker compose up -d`. Vaultwarden listens on port 80 by default (you'll change this once Caddy/NGINX is in front). Verify with `docker compose logs -f` - look for 'Rocket has launched' confirming the server is up.
Install Caddy as the reverse proxy (HTTPS)
Vaultwarden requires HTTPS for browser-extension and mobile-app connections to work. Caddy is the lowest-friction option - install via `sudo apt install caddy -y` and configure /etc/caddy/Caddyfile with your domain + reverse-proxy to vaultwarden:80. Caddy auto-provisions Let's Encrypt certificates on first request, no manual cert work. Alternative: NGINX Proxy Manager (web UI for managing reverse proxies + certs).
Add Tailscale for private access (recommended)
Rather than exposing your home IP to the public internet, install Tailscale on the Pi + each device that needs Vaultwarden access. The Pi becomes accessible at https://vaultwarden.your-tailnet.ts.net from any device on your Tailnet. No port forwarding, no DDNS, no public exposure. Family-friendly: install Tailscale on each family member's phone + laptop and they get vault access transparently.
Configure backup strategy
The single failure mode for self-hosted Vaultwarden is SD-card death losing all your passwords. Set up nightly backups: rclone to encrypted cloud storage (Backblaze B2 at ~£0.05/month for typical vault size, or Cloudflare R2 free tier), borgbackup to a second drive for local copy, or both. Test restore quarterly. The data lives in ./data/db.sqlite3 - small enough that even paranoid hourly backups are negligible cost.
Tailscale-only vs public internet exposure
Two valid approaches to making your self-hosted Vaultwarden reachable. Most UK households should choose Tailscale-only.
Tailscale-only (recommended):
- Vaultwarden listens only on the Tailscale network interface
- Each device that needs vault access has Tailscale installed (free for up to 100 devices on the personal plan)
- No public IP exposure, no port forwarding on your router, no DDNS needed
- Compromised credentials still require Tailscale access to reach the vault
- Trade-off: each new device needs Tailscale installed before it can access the vault
Public internet exposure:
- Vaultwarden reachable at a public DNS name (e.g. vault.yourdomain.com) via your home router's port-forwarded HTTPS
- Anyone on the internet can attempt access; relies on Vaultwarden's authentication + 2FA being correctly configured
- No Tailscale install needed on each device
- Trade-off: real attack surface that needs ongoing patching attention
For a family password manager, Tailscale-only is the right answer. The 'each device needs Tailscale' burden is small (one-time install per phone/laptop). The 'public internet is hostile' reality is worth avoiding.
Backup strategy
Self-host = self-backup. Your vault lives in two files: data/db.sqlite3 (the actual vault) + data/attachments/ (any uploaded file attachments). Total size for a typical household: 10-50MB. Small enough that backup costs are negligible; large enough that losing them is catastrophic.
The 3-2-1 rule applied to Vaultwarden:
- 3 copies: production data on the Pi, plus 2 backups
- 2 different storage media: SD card (production) + cloud storage + local-USB-drive copy
- 1 offsite: cloud copy lives outside your house (fire/theft protection)
Practical UK setup:
- Nightly rclone to Backblaze B2 (encrypted) - ~£0.05/month for a typical vault
- Weekly rsync to a USB drive plugged into the Pi
- Monthly manual export of the unencrypted vault to a password-protected ZIP, stored on a secondary device
Test restore quarterly. Set a calendar reminder. The worst time to discover backup failures is when you need them.
When self-hosting is the wrong choice
Three categories of UK user should NOT self-host their password manager:
Users who don't want infrastructure responsibility. Self-hosting means you handle updates, backups, uptime, security patches. If any of these worry you, the £9/year for Bitwarden Premium is genuinely cheap insurance. Bitwarden's official cloud is well-secured + properly backed up + regularly audited.
Users worried about lock-in if they fail at hosting. Vaultwarden uses the standard Bitwarden export format, so migration TO Bitwarden cloud (or Proton Pass, 1Password) is straightforward. But the practical reality of recovery during a failure (your Pi died, your backup didn't restore, you're locked out) is high-stress. If high-stress recovery isn't acceptable, stay on Bitwarden cloud.
Users sharing the vault with non-technical family members. If your partner/parent/teenager needs to access the vault and you're not available to help them when something breaks, hosting your own infrastructure is the wrong call. Use Bitwarden cloud's family plan (£40/year for 6 users) instead.
If none of these apply - if you want infrastructure responsibility, you're comfortable with technical recovery, and your users can handle a brief Vaultwarden outage - self-hosting via Vaultwarden is genuinely a great choice.
Frequently asked questions
Q01Is Vaultwarden compatible with official Bitwarden apps?
Q02Can I migrate my existing Bitwarden vault to Vaultwarden?
Q03What if my Raspberry Pi dies?
Q04Is Tailscale free?
Q05Self-hosted Vaultwarden vs Proton Pass - which?
Smart Home Without the Internet
Home Assistant 2026.6 Update Guide
Best Smart Locks Beginner Guide