LINUX, FOSS AND LIBRARY TECHNOLOGY ENTHUSIAST

Sunday, October 20, 2024

Setting Up Vaultwarden with Docker

0 comments
Vaultwarden is an excellent open-source alternative to Bitwarden for self-hosting your password manager. Here’s a quick guide to set up Vaultwarden using Docker.

Step:1 Install Docker using this guide

Step:2 Create Directories

mkdir -p docker/vwarden/vw-data
cd docker/vwarden

Step:3 Create docker-compose.yml File

nano docker-compose.yml

Add the following content:

services:
  vaultwarden:
    image: vaultwarden/server:latest
    container_name: vaultwarden
    restart: unless-stopped
    ports:
      - "83:80"
    volumes:
      - ./vw-data/:/data/

Step:4 Start the Vaultwarden Container: Run the following command to bring up the container

sudo docker compose up -d

Now, you have a self-hosted Vaultwarden server running on http://server-ip:83 ready to securely manage your passwords!

No comments:

Post a Comment