Vaultwarden: Alternative implementation of the Bitwarden server API in Rust
github.com
github.com
Support for : SQLite, MySQL/MariaDB and PostgreSQL.
You can use the docker version or extract the binary and assets files and run it directly.
Works well also on ARM based SBC, like RaspberryPi.
For MariaDB you can implement logical master-master replication between 2 servers (or a Galera cluster if you have 3 or more servers).
I have done this for my servers with MariaDB (master-master logical replication) and apart from some very rare hiccups it works very well. You can do the same for PostgreSQL.
For SQLlite there are some solutions like Litestream.
At the moment I am on MariaDB but my plan is to migrate to PostgreSQL.
The result is great. A secure password manager that syncs between all of my devices, regardless of where they are. Zero subscription cost for cloud servers. It works flawlessly, and even stores my 2FA codes too. (A feature that’s usually a paid Bitwarden feature)
Vaultwarden is one of several services I’m running off a pi this way, but it’s probably the one I use the most.