Vaultwarden

Summary

Vaultwarden is a self-hosted, alternative implementation of the Bitwarden Client API. It is compatible with all of the existing Bitwarden clients you can find online or in the Apple App Store and Google Play Store.

It's pretty lightweight and also implements features that are behind a paywall with the official version of Bitwarden.

Running this allows both my wife and I to use a secure password manager, and we can also share logins for sites and services.

This is another service that I run behind Tailscale so that I don't have to expose it to the internet but still access outside my home network.

Docker Compose File

services:

  vaultwarden:
    image: vaultwarden/server:latest
    container_name: vaultwarden
    volumes:
      - /opt/docker/vaultwarden:/data
    env_file:
      - .env
    environment:
      - WEBSOCKET_ENABLED=true
      - SIGNUPS_ALLOWED=false
      - INVITATIONS_ALLOWED=true
      - DOMAIN=https://your.fqdn.tld
      - ADMIN_TOKEN='LONG_65_CHARACTER_STRING'
    restart: unless-stopped
    ports:
      - 8060:80
      - 3012:3012