Homelab Plan

Security and passwords

How to install Vaultwarden on your home server

Vaultwarden is a light password server that works with the Bitwarden apps. The web page is on port 11001, the port in this site's compose file. It has steps for Debian, TrueNAS and Proxmox.

What the steps install, and how it connects

Connects to it

  • Bitwarden appsthrough your HTTPS reverse proxy (step 10)11001/tcp
  • Browser (web vault)through your HTTPS reverse proxy (step 10)11001/tcp

Your server, in Docker

container vaultwarden

image vaultwarden/server:latest

  • 11001/tcpweb pageto 80/tcp inside the container

Its data on the server

  • ./vw-datato /dataits data

The web vault needs HTTPS. On TrueNAS the app’s web page is on 30032/tcp. Drawn from step 6 of the Debian + Docker steps. Ports are the ones in those steps and in the table below.

The diagram in words

The Debian + Docker steps install the container vaultwarden, with port 11001/tcp. Connects to it: Bitwarden apps through your HTTPS reverse proxy (step 10) to 11001/tcp; Browser (web vault) through your HTTPS reverse proxy (step 10) to 11001/tcp. Its data: ./vw-data (its data).

What it needs

Ports11001/tcp (web page)TrueNAS app web page: 30032/tcp
MemoryNot stated by the project (read 25 Nov 2026)
CPUNot stated by the project (read 25 Nov 2026)
DiskNot stated by the project (read 25 Nov 2026)
LicenceAGPL-3.0
TrueNASCommunity app on TrueNAS
Project pagedani-garcia/vaultwarden

Ports are the ones in this site's compose file, not the project's default. Memory and disk figures are the project's own, with the page and the date read. Estimates only.

The one thing to know before you start

The web vault needs HTTPS, because browsers give it the web crypto functions only on HTTPS pages. After you make your account, set sign-ups to false so that no stranger can register.

Install steps

These steps follow the project's own pages and have not been tried on real hardware yet.

They start from a server that runs Docker: set up an old laptop or PC first. Docker or bare metal for Vaultwarden: what each method needs.

Debian + Docker

checking Some details are still being checked.

  • WARNINGUse HTTPS for the web vault. Vaultwarden says HTTPS is pretty much required, because the web vault needs web crypto APIs that browsers give only on HTTPS.
  • WARNINGSet SIGNUPS_ALLOWED to "false" after you create your account. Then no stranger can register.
  1. Install Docker Engine with the Compose plugin. Use the Docker page for Debian.

  2. Type this command to create the docker group. If the group exists, go to the next step.

    sudo groupadd docker
  3. Type this command to add your user to the docker group.

    sudo usermod -aG docker $USER
  4. Log out and log in again so that the group change takes effect.

  5. Type this command to test Docker.

    docker run hello-world
  6. Save the compose file below as docker-compose.yml.

    services:
      vaultwarden:
        image: vaultwarden/server:latest
        container_name: vaultwarden
        restart: always
        environment:
          SIGNUPS_ALLOWED: "true"
          #DOMAIN: "https://vault.example.com"
        volumes:
          - ./vw-data:/data
        ports:
          - 11001:80
  7. Remove # from the DOMAIN line.

  8. Set DOMAIN to the https address of your reverse proxy.

  9. Type this command in the folder of the file.

    docker compose up -d
  10. Set up a reverse proxy with HTTPS. The Vaultwarden page of proxy examples shows how.

  11. Open the https address of your reverse proxy in a browser.

  12. Create your account.

  13. Set SIGNUPS_ALLOWED to "false" in the file.

  14. Type this command again.

    docker compose up -d

TrueNAS app

checking Some details are still being checked.

  • WARNINGThis app is in the community train. The community supports it, and TrueNAS hides it by default.
  • WARNINGUpdate TrueNAS to version 24.10.2.2 or newer before you start.
  • WARNINGUse HTTPS for the web vault. Vaultwarden says HTTPS is pretty much required.
  1. Open Apps > Configuration > Settings. Select the community checkbox. Click Save.

  2. Open Apps > Discover Apps.

    Apps > Discover Apps > search 'vaultwarden' > Install (train: community)
  3. Search for 'vaultwarden'.

  4. Click Install.

  5. Open http://<server address>:30032 in a browser.

Proxmox VE (VM + Docker)

checking Some details are still being checked.

  • WARNINGUse HTTPS for the web vault. Vaultwarden says HTTPS is pretty much required, because the web vault needs web crypto APIs that browsers give only on HTTPS.
  • WARNINGUse a VM, not an LXC container. Proxmox says: "nesting containers inside a Proxmox QEMU VM remains a recommended practice".
  • WARNINGSet SIGNUPS_ALLOWED to "false" after you create your account. Then no stranger can register.
  1. Create a Debian VM in Proxmox VE.

  2. Sign in to the VM.

  3. Install Docker Engine with the Compose plugin. Use the Docker page for Debian.

  4. Type this command to create the docker group. If the group exists, go to the next step.

    sudo groupadd docker
  5. Type this command to add your user to the docker group.

    sudo usermod -aG docker $USER
  6. Log out and log in again so that the group change takes effect.

  7. Type this command to test Docker.

    docker run hello-world
  8. Save the compose file below as docker-compose.yml.

    services:
      vaultwarden:
        image: vaultwarden/server:latest
        container_name: vaultwarden
        restart: always
        environment:
          SIGNUPS_ALLOWED: "true"
          #DOMAIN: "https://vault.example.com"
        volumes:
          - ./vw-data:/data
        ports:
          - 11001:80
  9. Remove # from the DOMAIN line.

  10. Set DOMAIN to the https address of your reverse proxy.

  11. Type this command in the folder of the file.

    docker compose up -d
  12. Set up a reverse proxy with HTTPS. The Vaultwarden page of proxy examples shows how.

  13. Open the https address of your reverse proxy in a browser.

  14. Create your account.

  15. Set SIGNUPS_ALLOWED to "false" in the file.

  16. Type this command again.

    docker compose up -d

Licences and credits: Sources and licences.

What will it cost to run?

This page gives no power figure for Vaultwarden. The planner adds up the box it runs on, where the power goes splits that figure part by part, and the guide gives idle watts and a yearly cost at your own price.

Plan a password and file server in the planner, or read the home server hardware guide.

Related apps

All 18 apps