version: "3" services: vaultwarden: image: vaultwarden/server:latest container_name: vaultwarden restart: unless-stopped ports: - 9445:80 #map any custom port to use (replace 8445 not 80) volumes: - /opt/bitwarden:/data:rw environment: - ADMIN_TOKEN=token - WEBSOCKET_ENABLED=false - SIGNUPS_ALLOWED=true # - SMTP_HOST=smtp.yandex.ru # - SMTP_FROM=mail@yandex.ru # - SMTP_PORT=465 # - SMTP_SECURITY=starttls # - SMTP_USERNAME=mail@yandex.ru # - SMTP_PASSWORD=password - DOMAIN=https://password networks: default: name: apps