---
description: vaultwarden
author: wompmacho
date: 2025-02-23
lastmod: 2025-02-23
showHero: false # needed to hide "hero banner"
---

## 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:latest
    container_name: vaultwarden
    restart: unless-stopped
    environment:
      DOMAIN: "https://vaultwarden.wompmacho.com"
      ROCKET_PORT: 80
      ROCKET_ENV: production
    volumes:
      - vaultwarden-mount:/data/
    ports:
      - '9998:80'
      - '9999:443'

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