fix: Resolve Vaultwarden unprivileged port binding and update Admin Token docs

This commit is contained in:
2026-02-22 18:38:38 -05:00
parent e6cbe70836
commit 1d7df93a94
3 changed files with 11 additions and 2 deletions

View File

@@ -21,9 +21,11 @@ services:
- SMTP_PASSWORD=${SMTP_PASSWORD}
# Admin Panel
- ADMIN_TOKEN=${ADMIN_TOKEN}
# Required for running as non-root (cannot bind to port 80)
- ROCKET_PORT=8080
volumes:
- /volume1/docker/vaultwarden/data:/data:rw
ports:
- "8020:80" # Web UI
- "8020:8080" # Web UI
# Note: Vaultwarden integrates the WebSocket server into the main process in recent versions,
# so exposing port 3012 is no longer required for typical setups unless using reverse proxy splitting.