Fork du dépôt https://github.com/greizgh/bitwarden_rs-debian.git avec les adaptations pour compiler vaultwarden sur Ubuntu 18.04
e086904865
* Add argument for database type The optional argument "-d" allows to customize the database type. * Modify patch to work with all db types * Add database type to filename * Add dynamic modification of systemd-unit Dynamically changes the systemd-unit to require the appropriate database service. |
||
---|---|---|
debian | ||
.gitignore | ||
Dockerfile.patch | ||
README.md | ||
build.sh |
README.md
Bitwarden_rs debian package helper
Bitwarden_rs is an "Unofficial Bitwarden compatible server written in Rust".
This repository will help you produce a debian package.
TL;DR
Make sure you have the required build dependencies:
- docker
- git
- patch
Then:
git clone https://github.com/greizgh/bitwarden_rs-debian.git
cd bitwarden_rs-debian
./build.sh -r 1.10.0
The build.sh
script will build bitwarden_rs for the same Debian version which targets bitwarden_rs.
To compile for a different Debian version, specify the release name (e.g. Stretch, Buster) using the -o
option.
./build.sh -o stretch
Post installation
The packaged systemd unit is disabled, you need to configure bitwarden_rs through its
EnvFile:
/etc/bitwarden_rs/config.env
You will also probably want to setup a reverse proxy.