Run Vaultwarden on supported PaaS platforms where Dockerfiles are supported.
Based on official Vaultwarden docker image and also hard-forked from the original bitwardenrs_heroku repo, I added customized scripts to setup and manage in both Divio and Railway enviroments.
- Deploy a reliable Vaultwarden instance for free as easy as possible.
- Deploying one requires basic command line skills. You'll be guided through the setup guide.
- Maintainance: Almost zero, as long as you keep it up to date.
- As more functions as budget support
- Essentials and backups: Most PaaS services have some sort of backup options, but only the database is usually backed up. You can always manually backup if you want.
- Icons: They'll always pulled on startup for new deploys. You can optionally disable it in the
vaultwarden-startup
file. - TODO: Realtime syncing cross multiple devices. This requires Nginx setup chaos.
- TODO: Attachments. Since containers don't usually keep files once destoryed, we may consider doing some AWS S3 magic soon. (Speaking of setting this up on an Kubernetes-centric PaaS services like Okteto Cloud, we'll working on to add one soon.)
- And to test-run Vaultwarden, an Docker Compose file is being developing for that btw.
See the installation guide on installing BitwardenRS on either Divio or Railway, as you choose.
Ypu can even follow the setup guide in an cloud environment like Gitpod. Just hit the button below, and you can fire up the terminal and follow along without ever needing to install anything in your local machine
Most of PaaS platforms like Divio and Railway have support for Dockerfiles, so you should be probably fine.
Since we're running our own Vaultwarden instance in an Docker container, there is no persistent storage on most PaaS services. Thus, attachments are disabled and any changes to the configuration through the admin panel will be lost on deploy.
- Can't receive the verification link into my inbox or mostly
fall to spam/junk. Now what?
- Configure SMTP settings first. See this docs page for details.
- Prefer not to self-host your own mail server? See this section from the docs for options.
- Admin panel is disabled, but I want to get support string or invite users. How?
- Manual: Set the
ENABLE_ADMIN
intotrue
, then use an password generator for theADMIN_TOKEN
. - Automated: Run
./tools/enable-admin-panel <paas-platform-slug>
- Manual: Set the
- How do I configure my instance?
- All environment variables will be treated as configuration of Vaultwarden.
- When using Divio/Railway/other services that use containers, backup your changes on admin panel as the filesystem don't usually presist on containers. because on every deploy, changes are loss.
- I'm logged out after navigating away from the web vault. Hpw do I fix it?
- Run
./tools/generate-rsakey <paas-platform-slug>
to enable persistent RSA key on every website session.
- Run