Vaultwarden is a lightweight Bitwarden server for self-hosting. It is compatible with most of the Bitwarden clients, including the desktop apps for Windows, macOS, and Linux, as well as the mobile apps for iOS and Android.
Official repository: dani-garcia/vaultwarden
This deployment uses Docker and Docker Compose. You can deploy it with the following steps:
-
Clone this repository:
git clone https://github.com/dkadev/vaultwarden cd vaultwarden
-
Create a
.env
file:cp .env.template .env
-
Edit the
.env
file and set the environment variables as needed. See official wiki for more information. -
Generate self-signed SSL certificates:
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ./certs/vaultwarden.key -out ./certs/vaultwarden.crt
-
Start the services:
docker-compose up -d
-
Access the web interface at
https://domain.local
.