Skip to main content
  1. Projects/

vaultwarden

·83 words·1 min·
Michael
Author
Michael
some dude that works on datacenters, plays guitar, streams, has a lot of side projects and unhealthy addiction to ow
Table of Contents

What is vaultwarden?
#

vaultwarden ia a 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.

Docker Compose Example
#

# vaultwarden -- https://github.com/dani-garcia/vaultwarden
---
services:
  vaultwarden:
    image: vaultwarden/server:1.36.0
    container_name: vaultwarden
    restart: unless-stopped
    environment:
      DOMAIN: "${VAULT_DOMAIN}"
      ROCKET_PORT: ${ROCKET_PORT}
      ROCKET_ENV: production
      ADMIN_TOKEN: ${ADMIN_TOKEN}
    volumes:
      - vaultwarden-mount:/data/
    ports:
      - '${LOCAL_PORT}:80'
      - '${SSL_PORT}:443'

volumes:
  vaultwarden-mount:
    name: vaultwarden-mount
    driver_opts:
      type: nfs
      o: addr=truenas,nolock,soft,rw
      device: :/mnt/store/vault/app/vaultwarden