Video tutorial coming soon.
Deploy Vaultwarden, a lightweight Bitwarden-compatible server. Store all your passwords, secrets, and secure notes on your own infrastructure with full Bitwarden client support.
Grab the automated bash script from GitHub to follow along.
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/security/vaultwarden/vaultwarden-ubuntu.sh
chmod +x vaultwarden-ubuntu.sh
sudo bash vaultwarden-ubuntu.sh
The script installs Docker, pulls the Vaultwarden image, and starts the server. Signups are enabled by default for initial setup.
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/security/vaultwarden/vaultwarden-ubuntu.sh
chmod +x vaultwarden-ubuntu.sh
sudo bash vaultwarden-ubuntu.sh
Open your browser and navigate to Vaultwarden. Create your admin account, then disable signups in the admin panel to prevent unauthorized registrations:
http://YOUR-SERVER-IP:8086
Install the official Bitwarden app or browser extension. In the app settings, set the Server URL to your Vaultwarden address. Log in with your account credentials.
Import passwords from your browser or previous password manager via the web vault. Organize items into collections and folders. Enable 2FA for extra security.
| Port | Protocol | Purpose |
|---|---|---|
| 8086 | TCP | Web Vault & API |
/root/docker/vaultwarden/docker-compose.yml