Railway

Deploy Vaultwarden

Private self-hosted Bitwarden compatible password manager backend.

Deploy Vaultwarden

Just deployed

Vaultwarden-Postgres

rpuls/my-own-suite

Just deployed

/var/lib/postgresql/data

Deploy and Host Vaultwarden on Railway

Vaultwarden is a lightweight, self-hosted server that works with the official Bitwarden apps and browser extensions. Host your own password manager as a private alternative to LastPass, 1Password, or Bitwarden's cloud — storing passwords, secure notes, cards, identities, and shared vaults on infrastructure you control.

About Hosting Vaultwarden

Hosting Vaultwarden gives you a private, Bitwarden-compatible backend for your credentials. Your vault data is encrypted by the client before it ever reaches the server, so the server only ever stores encrypted data — and it runs entirely on your own server with no telemetry.

This template is ready to run: Railway handles the infrastructure, and the app starts with sensible defaults so you can create your first account and start connecting the Bitwarden clients you already use. Because it uses Vaultwarden's built-in SQLite storage, it runs comfortably as a single lightweight service.

Vaultwarden is one piece of My Own Suite — an all-in-one, self-hosted private cloud that also covers files, documents, photos, calendars, and more, so you can move your whole digital life onto infrastructure you own.

Common Use Cases

  • Use the official Bitwarden browser extensions, mobile apps, desktop apps, and web vault against your own server.
  • Store passwords, secure notes, cards, and identities in an end-to-end encrypted vault.
  • Share credentials with family or a team using Bitwarden-compatible organizations and collections.
  • Test it on Railway before moving your password manager to your own server or VPS.

Dependencies for Vaultwarden Hosting

  • A Railway account

Pricing and plan requirements

Railway offers a free trial with starter credits and up to 5 services per project, which is plenty to deploy and evaluate Vaultwarden. For ongoing use, you'll want a paid plan (Hobby or higher) to keep the service running continuously. Vaultwarden is especially light on resources — it runs as a single service on built-in SQLite storage — so it's inexpensive to keep online.

Deployment Dependencies

Implementation Details

  • Internal HTTP port: 80
  • Health endpoint: /alive
  • Persistent volume: /data (SQLite vault storage — back this up, since losing it can mean losing the vault)
  • Key environment variables:
    • ADMIN_TOKEN — secures the Vaultwarden admin panel (generated for you)
    • DOMAIN — the app's public URL
    • SIGNUPS_ALLOWED=true — allows creating the first account
    • WEBSOCKET_ENABLED=true — enables live sync to clients

A note on privacy: by default the server fetches website icons from the sites you save, which can reveal those domains to third parties. You can turn icon downloading off in Vaultwarden if you prefer. Always use a strong, unique master password and enable two-factor authentication where possible.

Why Deploy Vaultwarden on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Vaultwarden on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

Vaultwarden-Postgres

rpuls/my-own-suite

More templates in this category

View Template
Rocky Linux
[Jul'26] Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
29
View Template
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

Lucas
71
View Template
Letta Code Remote
Run a Letta Code agent 24/7. No inbound ports, just deploy.

Letta
51