git clone https://github.com/Noklm/vaultwarden-pod.git
cd vaulwarden-pod
- Admin token secret:
Create your admin token secret and save the password in a safe place:
./hash.sh admin_token_secret.txt
chmod 600 admin_token_secret.txt
podman secret create vaultwarden_admin_token ./admin_token_secret.txt
- Create domain secret
echo -n "http://localhost" > domain_secret.txt
chmod 600 domain_secret.txt
podman secret vaultwarden_domain ./domain_secret.txt
./run.sh
To back up data, export vaultwarden volume:
podman volume export vw-data --output "$(date +"%y%m%d")_vw-data.tar"
Restore with volume import:
podman volume import vw-data 241228_vw-data.tar