VaultWarden logo

VaultWarden

Password manager with Bitwarden compatibility

Alternative to: bitwarden, 1password, lastpass, keepass, keeper


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

VaultWarden Docker Compose example

Self-host VaultWarden on your own server, homelab, or VPS starting from this Docker Compose example. It runs VaultWarden in Docker containers using the official vaultwarden/server:latest image, with persistent volumes and automatic restarts preconfigured. Review the environment variables and adjust them to your setup, save the file as compose.yml (or docker-compose.yml), and start the stack with docker compose up -d.

services:
  vaultwarden:
    image: vaultwarden/server:latest
    restart: unless-stopped
    environment:
      # randomly generated string of characters, for example running openssl rand -base64 48
      #//Refer https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page#secure-the-admin_token
      ADMIN_TOKEN: ""
      # Your website address, for example https://vault.domain.tld
      DOMAIN: "http://localhost"
      # Set to true if you want to enable user signups, false otherwise
      SIGNUPS_ALLOWED: "true"
    volumes:
      - data:/data/

volumes:
  data:

Prefer a managed setup? WinterFlow installs, configures, and updates VaultWarden for you using this same Docker Compose configuration.