Deploy Bitwarden on Docker Swarm

In this tutorial we’ll deploy Bitwarden on Docker Swarm. It’s based on an earlier tutorial on this site, where we deployed Docker Swarm on DigitalOcean.
Bitwarden is a password manager with support for self hosting. We’ll be using bitwarden_rs, an unofficial Bitwarden API server implementation, as it’s a fair bit faster than the default implementation. Bitwarden_rs is written in Rust and is compatible with the officla Bitwarden clients.
Bitwarden has the following features, among others: