heyer.systems Open Source

Vaultwarden

Self-hosted Bitwarden-compatible password manager, built natively from the signed Rust source code.

Install

On the Proxmox node as root:

bash -c "$(curl -fsSL https://iac.heyer.systems/vaultwarden/ct.sh)"

Container from the Debian 13 template · default: 2 CPU, 4096 MiB RAM, 16 GiB disk

Customise the commandYour own values for CPU, RAM, network and modules – no dialog

Then: Backend (private networks only): http://<IP>:8080/ – must run behind an HTTPS reverse proxy. Admin: /admin; token in the guest: grep vaultwarden_admin_token /etc/iac/settings.env

Settings per instance

SettingMeaning
vaultwarden_domainPublic HTTPS address – Full external URL, e.g. https://vault.example.org; leave empty if not decided yet.

When creating a container, as var_<setting>:

var_vaultwarden_domain="<value>" bash -c "$(curl -fsSL https://iac.heyer.systems/vaultwarden/ct.sh)"

Set or change later, in the guest (for VMs the only way so far): a line vaultwarden_domain=<value> in /etc/iac/settings.env – no quotes, the last line of a setting wins – then:

update

With NetBox: the same line vaultwarden_domain=<value> in the field Settings of the VM – it takes effect at the next update. Secrets stay in the guest.

Missing or empty = the app's default. Do not edit the configuration files iac writes – update overwrites them; their first lines name the file for local changes.

Update

In the guest:

update

Debian packages, Vaultwarden, modules and the iac configuration. Major versions never change automatically.

Add modules – any time, in containers and VMs alike:

update --list-modules
update --add-modules node-exporter

All modules · More about update

Adopt an existing installation in the guest as root

bash -c "$(curl -fsSL https://iac.heyer.systems/vaultwarden/adopt.sh)"

Checks first and stops before any change if an automatic adoption is not possible – then follow the migration guide.