Scripted Vaultwarden Installation (TrueNAS CORE)

Scripted Installation of Vaultwarden and Caddy with options to run behind a reverse proxy, self-signed cert, or completely independent and managing/renewing its own certs automatically using Caddy.

This script will create a jail, install Vaultwarden and Caddy using a $FQDN of your choosing, and mount the data outside the jail. This makes it easy to rebuild the jail without losing your data. It will also acquire a valid Let’s Encrypt certificate and keep it renewed using Caddy. It will also generate a strong admin token and hash it using argon2 for use with the admin panel.

Reinstall is supported without having to move or backup your data.

Instructions and downloads are at

1 Like