Easy to install and highly configurable debian packages for running Vaultwarden on your system natively without docker - with mysql, postgresql, sqlite and s3 support. Out of the box it can be installed and built on Debian stable, Debian oldstable and latest Ubuntu LTS.
The easiest way to install vaultwarden is using the apt repository on apt.crunchy.run/vaultwarden. Installation instructions are available directly on the repository page.
Quick installation:
sudo apt install curl
curl -fsSL https://apt.crunchy.run/vaultwarden/install.sh | sudo bash -
sudo apt install vaultwardenAlternatively, download prebuilt packages from the releases section and verify signatures with the signing-key. Packages are automatically built in Github Actions. You will also need vaultwarden-web-vault-deb.
After installation, you can configure the service to your liking by editing /etc/vaultwarden/vaultwarden.env. Restart the service afterwards using systemctl restart vaultwarden. Visit the Vaultwarden wiki for additional resources.
- Get in touch - For issues with Vaultwarden
- Issues and Discussions - For issues with or related to these packages
This project aims to closely match the releases of upstream. The first release in each minor version series starts as a prerelease with a 7-day waiting period to allow upstream to fix oversights in new features or changes. Subsequent releases follow the same waiting period. After the waiting period has passed, all prereleases are automatically promoted to normal releases including new releases.
This debian source package builds Vaultwarden natively on your build environment. No annoying docker! It is managed with git-buildpackage and aims to be a pretty good quality debian source package. You can find the maintaining command summary in debian/gbp.conf.
Installed git-buildpackage from your apt
Installed build dependencies as defined in debian/control Build-Depends (will notify you in the build process otherwise). mk-build-deps can help you automate the installation, for example:
mk-build-deps -i -r debian/control -t "apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes"If rust/cargo is not recent enough don't forget to look into your *-updates/*-backports apt sources for newer versions or use rustup.
Clone with git-buildpackage and switch to the folder:
gbp clone https://github.com/dionysius/vaultwarden-deb.git
cd vaultwarden-debBuild with git-buildpackage - there are many arguments to fine-tune the build (see gbp buildpackage --help and dpkg-buildpackage --help), notable options: -b (binary-only, no source files), -us (unsigned source package), -uc (unsigned .buildinfo and .changes file), --git-export-dir=<somedir> (before building the package export the source there), for example:
gbp buildpackage -b -us -ucOn successful build packages can now be found in the parent directory ls ../*.deb.
Add the target architecture with dpkg --add-architecture <arch> and update package lists with apt update.
Install build dependencies using mk-build-deps from above with additional --host-arch <arch> flag.
Use the build command from above with additional -a<arch> and -Pcross,nocheck flags.