← All templates · Passwords and sign-in
Deploy Vaultwarden in one click
A password manager server for the Bitwarden apps
A self-hosted alternative to Bitwarden, 1Password, and LastPass.
What is Vaultwarden?
Vaultwarden is an open-source password manager server, a lightweight alternative to Bitwarden's own server, written in Rust. The official Bitwarden apps for browsers, desktops and phones connect to it and fill and sync your logins, and a web vault comes built in. Organizations with collections share passwords with a family or a team. Send shares a note or a file through a link, and Emergency Access lets a trusted contact request access to your vault.
People self-host Vaultwarden to keep their passwords on a server they control, with software that is free under the AGPL-3.0 licence. Its database is a single SQLite file by default. It suits a person, a family or a small team: features for large companies are not the project's priority. The catch is email. Without an SMTP service it sends none, so no invitations and no two-step login by email.
Hosting Vaultwarden on Pethost
- You sign in to Pethost with a passkey, GitHub or Google. No machine yet? You pick a plan, and the link waits until it is ready.
- New project opens at Vaultwarden, and you click Create project.
- In a minute or two Vaultwarden is live at its own address with HTTPS. Its secrets are made at random, and its data is in the nightly backup.
- It is a project like any other: you or your agent can change it, roll it back or restore it.
Questions about Vaultwarden
Vaultwarden vs Bitwarden: what is the difference?
Vaultwarden is a separate server that implements the same client API, so Bitwarden's apps work with both. It is not affiliated with Bitwarden, Inc., lacks a few large-organization features such as custom roles, and takes its bug reports itself.
Does Vaultwarden work with the Bitwarden mobile apps?
Yes. In the Bitwarden app for iOS or Android, choose a self-hosted server and enter your Vaultwarden address. For changes to reach the phone without a manual sync, turn on push notifications with an installation ID and key from bitwarden.com/host.
Can I import passwords from LastPass or 1Password into Vaultwarden?
Yes. Vaultwarden serves Bitwarden's web vault, whose import tool reads export files from LastPass, 1Password, KeePass, Chrome, Firefox and many other password managers.
How do I disable signups in Vaultwarden?
Set SIGNUPS_ALLOWED=false once your own account exists. On Pethost that is one line in the project's .env and a new deploy. Organization owners and admins can still invite new users.
Has Vaultwarden had a security audit?
Yes. Germany's Federal Office for Information Security (BSI) published a test of Vaultwarden 1.30.3 in 2024, and a penetration test by ERNW that October found three vulnerabilities, which were disclosed to the project. The wiki's Audits page links both.
How much memory and disk does Vaultwarden need?
Vaultwarden is very light: tens of megabytes of memory, and thousands of passwords take a few megabytes. On Pethost the Starter plan is enough for it, with room for other apps beside it.
Vaultwarden Docker Compose file
The template is this compose.yaml and the variables written into the project’s .env as it is created. Pethost runs the file as it is written.
Containers: vaultwarden (vaultwarden/server:1.37.4).
Volumes, in the nightly backup: data.
services:
vaultwarden:
image: vaultwarden/server:1.37.4
restart: unless-stopped
environment:
DOMAIN: ${URL}
# Set SIGNUPS_ALLOWED=false in .env once your account exists.
SIGNUPS_ALLOWED: ${SIGNUPS_ALLOWED:-true}
volumes:
- data:/data
# The image's own check runs once a minute; this one answers in ten seconds.
healthcheck:
test: ["CMD", "/healthcheck.sh"]
interval: 10s
timeout: 5s
retries: 3
start_period: 20s
volumes:
data:
More in Passwords and sign-in
- AuthorizerSign-in for your own apps, with OAuth 2 and OpenID Connect
- Password PusherShare passwords and secrets by links that expire
- authentikAn identity provider for single sign-on to your apps: OpenID Connect, SAML, LDAP, MFA and passkeys
- FusionAuthCustomer identity and access management: sign-in, registration, single sign-on and MFA for your apps
- KeycloakOpen-source identity and access management: single sign-on for your apps with OpenID Connect and SAML