Scripted Installation of Vaultwarden with 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.
Credits go to @danb35 for his scripts, from which I built this script.
Instructions and downloads are at https://github.com/tschettervictor/truenas-iocage-vaultwarden
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.
Credits go to @danb35 for his scripts, from which I built this script.
Instructions and downloads are at https://github.com/tschettervictor/truenas-iocage-vaultwarden