version: '3' services: vaultwarden: container_name: vaultwarden image: vaultwarden/server:latest restart: unless-stopped environment: - WEBSOCKET_ENABLED=true - ROCKET_PORT=8882 volumes: - ./data/:/data/ ports: - 8882:8882 - 3012:3012