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/
- 11001/tcpweb pageto 80/tcp inside the container
Its data on the server
./to /vw-data data its 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
| Ports | 11001/tcp (web page)TrueNAS app web page: 30032/tcp |
|---|---|
| Memory | Not stated by the project (read 25 Nov 2026) |
| CPU | Not stated by the project (read 25 Nov 2026) |
| Disk | Not stated by the project (read 25 Nov 2026) |
| Licence | AGPL-3.0 |
| TrueNAS | Community app on TrueNAS |
| Project page | dani-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.
- WARNINGDo not run these steps on a server with a public IP address. Anyone on the internet could then reach the apps.
- WARNINGDo not forward these ports on your router, unless a step tells you to. The ports would then be open to the internet.
- WARNINGDo not trust ufw to close a port that Docker opens. Docker bypasses the ufw rules. Read the Docker page on firewalls.
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.
Install Docker Engine with the Compose plugin. Use the Docker page for Debian.
Type this command to create the docker group. If the group exists, go to the next step.
sudo groupadd dockerType this command to add your user to the docker group.
sudo usermod -aG docker $USERLog out and log in again so that the group change takes effect.
Type this command to test Docker.
docker run hello-worldSave 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:80Remove # from the DOMAIN line.
Set DOMAIN to the https address of your reverse proxy.
Type this command in the folder of the file.
docker compose up -dSet up a reverse proxy with HTTPS. The Vaultwarden page of proxy examples shows how.
Open the https address of your reverse proxy in a browser.
Create your account.
Set SIGNUPS_ALLOWED to "false" in the file.
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.
Open Apps > Configuration > Settings. Select the community checkbox. Click Save.
Open Apps > Discover Apps.
Apps > Discover Apps > search 'vaultwarden' > Install (train: community)Search for 'vaultwarden'.
Click Install.
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.
Create a Debian VM in Proxmox VE.
Sign in to the VM.
Install Docker Engine with the Compose plugin. Use the Docker page for Debian.
Type this command to create the docker group. If the group exists, go to the next step.
sudo groupadd dockerType this command to add your user to the docker group.
sudo usermod -aG docker $USERLog out and log in again so that the group change takes effect.
Type this command to test Docker.
docker run hello-worldSave 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:80Remove # from the DOMAIN line.
Set DOMAIN to the https address of your reverse proxy.
Type this command in the folder of the file.
docker compose up -dSet up a reverse proxy with HTTPS. The Vaultwarden page of proxy examples shows how.
Open the https address of your reverse proxy in a browser.
Create your account.
Set SIGNUPS_ALLOWED to "false" in the file.
Type this command again.
docker compose up -d
Sources
- raw.githubusercontent.com/proxmox/pve-docs/master/pct.adoc
- docs.docker.com/engine/install/debian/
- github.com/dani-garcia/vaultwarden/wiki/Using-Docker-Compose
- docs.docker.com/engine/install/linux-postinstall/
- github.com/dani-garcia/vaultwarden/wiki/Enabling-HTTPS
- github.com/dani-garcia/vaultwarden/wiki/Proxy-examples
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.