Updates und Pakete installieren
apt update && apt upgrade -y && apt install curl -y
apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common -y
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
apt update && apt install docker-ce docker-compose -y
Vaultwarden Docker Container Installieren
nano docker-compose.yml
version: '3'
services:
vaultwarden:
image: vaultwarden/server:latest
container_name: vaultwarden
restart: always
environment:
- WEBSOCKET_ENABLED=true
- DOMAIN=https://vaultwarden.DeineURL.de
ports:
- 80:80
volumes:
- ./vw-data:/data
docker compose up -d