Skip to content

Instantly share code, notes, and snippets.

@hyoretsu
Created January 20, 2024 23:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hyoretsu/e4e111b2d3572fbf748ad2c09dd9ee59 to your computer and use it in GitHub Desktop.
Save hyoretsu/e4e111b2d3572fbf748ad2c09dd9ee59 to your computer and use it in GitHub Desktop.
Self-hosting commands
sudo docker run -d --restart unless-stopped --name vaultwarden \
-p 32080:32080 -v /srv/vaultwarden/:/data/ \
-e ROCKET_PORT=32080 -e LOG_FILE=/data/vaultwarden.log \
-e SMTP_PORT=587 -e SMTP_SECURITY=starttls \
-e SMTP_HOST=smt-host.com \
-e SMTP_FROM=example@email.com \
-e SMTP_USERNAME=your_username \
-e SMTP_PASSWORD=your_password \
-e DOMAIN=https://example.com \
vaultwarden/server:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment