selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
Vaultwarden logo

Self-host Vaultwarden

1.37.5

Bitwarden-compatible password manager server written in Rust

ReleaseOpen SourceAGPL-3.0
Updated2 weeks ago
LanguageRust
Setup difficultyModerate
Stars
70 810
Rating
5.0 (2)
Ports
80 (HTTP server in Docker container), 8000 (HTTP server outside Docker)
Docker
vaultwarden/server
Install with Docker

What is Vaultwarden?

Vaultwarden is an unofficial Rust server that implements the Bitwarden API, letting you run your own password manager compatible with all official Bitwarden apps. It covers personal vaults, organization sharing, collections, groups, two-factor authentication (TOTP, email, WebAuthn, YubiKey, Duo), emergency access, encrypted Send, file attachments, and an admin dashboard. Data can be stored in SQLite, MySQL, or PostgreSQL. Deployment is usually done via Docker or Docker Compose behind a reverse proxy with HTTPS. The code is AGPL-3.0 licensed and the project is not affiliated with Bitwarden, Inc.

Vaultwarden alternatives

All self-hosted alternatives to Bitwarden (official server) →

Should you self-host Vaultwarden?

Vaultwarden scores 89/100 on selfhost.directory (how scoring works) and ranks #1 of 29 in Password Managers. It has 70 810 GitHub stars, +1 887 in the last 30 days.

It shipped 16 stable releases in the past year. The latest, 1.37.5, came out on 1 November 2026. New versions land roughly every 2 weeks.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Rust.

Its closest alternative on selfhost.directory is Bitwarden (75/100, 20 647 stars). Vaultwarden scores higher overall. See Vaultwarden vs Bitwarden side by side.

Features

  • Admin Panel
  • Bitwarden Send
  • Emergency access
  • File attachments
  • Organizations with Collections and Groups
  • Personal API Key
  • Personal Vault
  • Two-Factor Authentication (TOTP, Email, WebAuthn, YubiKey, Duo)
  • Website icons
  • Web Vault (bundled)

Vaultwarden README

Vaultwarden Logo

An alternative server implementation of the Bitwarden Client API, written in Rust and compatible with official Bitwarden clients [disclaimer], perfect for self-hosted deployment where running the official resource-heavy service might not be ideal.


How to install Vaultwarden

Install Vaultwarden with Docker

Environment variables
DOMAIN, ADMIN_TOKEN, DATABASE_URL, SMTP_*, etc. (see .env.template)

docker pull vaultwarden/server:latest docker run --detach --name vaultwarden
--env DOMAIN="https://vw.domain.tld"
--volume /vw-data/:/data/
--restart unless-stopped
--publish 127.0.0.1:8000:80
vaultwarden/server:latest

Official multi-arch image from Docker Hub, GHCR, or Quay.

How to configure Vaultwarden

  • DOMAINDomain settings The domain must match the address from where you access the server It's recommended to configure this value, otherwise certain functionality might not work, like attachment downloads, email links and U2F. For U2F to work, the server must use HTTPS, you can use Let's Encrypt for free certs To use HTTPS, the recommended way is to put Vaultwarden behind a reverse proxy Details: - http
  • ADMIN_TOKENToken for the admin interface, preferably an Argon2 PCH string Vaultwarden has a built-in generator by calling `vaultwarden hash` For details see: https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page#secure-the-admin_token If not set, the admin panel is disabled New Argon2 PHC string Note that for some environments, like docker-compose you need to escape all the dollar signs `$` wit
  • SIGNUPS_ALLOWEDControls if new users can register
  • INVITATIONS_ALLOWEDAllows org admins to invite users, even when signups are disabled
  • SMTP_HOSTMail specific settings, set SMTP_FROM and either SMTP_HOST or USE_SENDMAIL to enable the mail service. To make sure the email links are pointing to the correct host, set the DOMAIN variable. Note: if SMTP_USERNAME is specified, SMTP_PASSWORD is mandatory

Vaultwarden releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Password Managers

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…