Skip to content

06Templates (apps on your server)

Vaultwarden – your own password vault (template)

Set up Vaultwarden (Bitwarden-compatible password manager) with a domain and SSL on your VPS: invitations without SMTP, admin page and backup.

In short

The template installs Vaultwarden in Docker behind an HTTPS proxy with a Let’s Encrypt certificate. Open registration is off – only your email address is invited. Afterwards, you create your account and use the vault with the Bitwarden apps.

  • at least 768 MB RAM, 3 GB free storage
  • a domain that points to your server’s IP (A record)
  • ports 80 and 443 free (not used by another web server)
  1. Server Hub → your server → Templates → Vaultwarden → Install.
  2. Enter a domain (e.g. vault.your-domain.com) and your email address, and check the Let’s Encrypt terms.
  3. Optionally enter an SMTP server (see below).
  4. Start installation. After about 4 minutes, you get the address and, on click, the admin token.
  1. Open https://your-domain/#/signup and create your account with the invited email address.
  2. Choose a strong master password. It can’t be recovered – write it down.
  3. In the Bitwarden apps and the browser extension, choose self-hosted when logging in and enter your address as the server.

At https://your-domain/admin, you log in with the admin token and invite more addresses under Users.

On VPS, mail ports 25, 465 and 587 are blocked at first. If you want to use email, use a mail service with port 2525 (STARTTLS encryption) or ask our support. You can also enter SMTP later on the admin page under SMTP Email Settings.

Everything important is in /opt/nh-apps/vaultwarden/data. Back up the folder regularly – without a backup, your passwords are gone if something breaks. In the App tab of the Server Hub, you create a backup on the server with one click.

What Where
Data /opt/nh-apps/vaultwarden/data
Settings /opt/nh-apps/vaultwarden/vaultwarden.env
Restart docker restart nh-vaultwarden
HTTPS proxy /opt/nh-proxy (container nh-proxy)