Install VaultWardent on Ubuntu 24.04

Install docker
$mkdir vaultwarden && cd vaultwarden
Create docker-compose.yml

version: '3'

services:
  vaultwarden:
    image: vaultwarden/server:latest
    container_name: vaultwarden
    restart: always
    environment:
      - WEBSOCKET_ENABLED=true
      - ROCKET_PORT=8001
      - SIGNUPS_ALLOWED=true
      - SIGNUPS_VERIFY=false
      - INVITATIONS_ALLOWED=false
      - ADMIN_TOKEN=[token]
      - SHOW_PASSWORD_HINT=false
    volumes:
      - /srv/vaultwarden:/data
    ports:
      - 127.0.0.1:3012:3012
      - 127.0.0.1:8001:8001

$docker compose up -d

Set up nginx reverse proxy

port 8001

set let's encrypt