version: "3" services: vaultwarden: image: vaultwarden/server:latest-alpine container_name: vaultwarden restart: unless-stopped ports: - 30080:80 #map any custom port to use (replace 9445 not 80) volumes: - vaultwarden_data:/data:rw environment: # - ROCKET_TLS={certs="/ssl/certs/certs.pem",key="/ssl/private/key.pem"} // Environment variable is specific to the Rocket web server - ADMIN_TOKEN='!X%%R48RhN9g^hWVT^e7h#w@of' - WEBSOCKET_ENABLED=true # - SIGNUPS_ALLOWED=false # - SMTP_HOST=${SMTP_HOST} # - SMTP_FROM=${SMTP_FROM} # - SMTP_PORT=${SMTP_PORT} # - SMTP_SSL=${SMTP_SSL} # - SMTP_USERNAME=${SMTP_USERNAME} # - SMTP_PASSWORD=${SMTP_PASSWORD} - DOMAIN=https://vw.aveosysarch.org deploy: mode: replicated replicas: 1 #uncomment below network part if you are using Nginx Proxy Manager, or you can remove the same #networks: # default: # external: # name: nginx-proxy-network volumes: vaultwarden_data: driver: gfs_vol