sudo mkdir /opt/vw
mkdir vaultwarden
cd vaultwarden
nano docker-compose.yml
version: "3.9"
services:
vaultwarden:
image: vaultwarden/server:latest
restart: unless-stopped
volumes:
- /opt/vw:/data
ports:
- "80:80"
- "3012:3012"
docker-compose -d up .
docker-compose up -d