Bachelor Tech
  • Home
  • Tutorials
  • Tips
  • Portfolio
  • About Jan
  • Contact Jan

Deploy Vaultwarden in multi-site environment (Docker, OPNSense, Galera cluster, Nginx)

by Jan Bachelor January 16, 2026
187 views
188

Running a mission-critical website on a single server creates a significant risk, as routine maintenance or unexpected hardware failures can take your service offline instantly. This tutorial guides you through transforming a standalone web server into a resilient High Availability (HA) cluster using accessible open-source tools.

We will utilize Proxmox to clone your existing environment and deploy OPNsense with HAProxy to intelligently distribute traffic between multiple nodes. To handle dynamic content, we solve the challenge of file synchronization by implementing Syncthing, a decentralized peer-to-peer tool that keeps folders like WordPress uploads identical across servers in real-time.

We will configure Syncthing on headless Linux instances, tunnel securely to its GUI for management, and set up automated health monitoring using UptimeKuma. By the end, you will have a robust architecture that can survive individual server reboots without downtime, offering a simpler alternative to complex enterprise-grade distributed file systems.

Do you prefer this tutorial in a PDF format?
Deploy self-hosted Vaultwarden in HA environment– Download PDF –
View Deploy Vaultwarden in multi-site environment in HA:– Download PDF –

Course Steps

1. Vaultwarden or Bitwarden? 2. Create a Vaultwarden DB + Install Dependencies 3. Configure OPNSense + HAProxy for Vaultwarden 4. Troubleshoot Vaultwarden Docker/Web UI service 5. Set up Syncthing for Vaultwarden data sync 6. Set up Monitoring for Vaultwarden’s Docker Container + Website using UptimeKuma 7. Harden Vaultwarden with Fail2ban 8. Bonus: Customize the 403 Forbidden page on Nginx 9. Migrate your data from Bitwarden to Vaultwarden 10. Backups, Restoration & Additional Security Considerations
0 FacebookWhatsappEmail
Jan Bachelor

previous post
How to configure High Availability for a Web Server using Syncthing and HAProxy (on OPNSense)

Course Steps

Other courses

Turn your Raspberry Pi into a Proxmox Backup...

July 13, 2025

Create an automated Gravity workflow that will allow...

January 19, 2024

Dynamically Populate Gravity Forms from Google Sheets (GSheets...

March 16, 2021

Concur Alternative: Import Employees’ Credit Card Expenses to...

January 19, 2024

OPNSense in HA with CARP with dual WANs

June 30, 2025

Buy Me a Coffee

Buy Me a Coffee Buy Me a Coffee

Recent Posts

  • Check for remaining disk space on your fleet

  • How to get LXC containers for Proxmox outside of ready-made templates

  • How to join two Proxmox nodes into a cluster (PVE 8.x)

All Rights Reserved. The theme was customized from Soledad, see PenciDesign

Bachelor Tech
  • Home
  • Tutorials
  • Tips
  • Portfolio
  • About Jan
  • Contact Jan