Skip to content

Instantly share code, notes, and snippets.

@opentaq
Created July 24, 2022 16:49
Show Gist options
  • Save opentaq/a6c10628943ecf409a61d72c75d3e1c8 to your computer and use it in GitHub Desktop.
Save opentaq/a6c10628943ecf409a61d72c75d3e1c8 to your computer and use it in GitHub Desktop.

Installing Vaultwarden

Create a directory for the Vaultwarden data

sudo mkdir /opt/vw

Create a directory for the Vaultwarden Docker Compose file

mkdir vaultwarden
cd vaultwarden 

Create the docker-compose file

nano docker-compose.yml

Add the following content

version: "3.9"
services:
  vaultwarden:
    image: vaultwarden/server:latest
    restart: unless-stopped
    volumes:
      - /opt/vw:/data
    ports:
      - "80:80"
      - "3012:3012"

Start Vaultwarden

docker-compose -d up .
@jjackofall
Copy link

docker-compose up -d

@tomihuj
Copy link

tomihuj commented Feb 18, 2024

docker-compose up -d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment