---
title: "Deploy Vaultwarden"
description: "Vaultwarden, an open source, self-hostable Bitwarden backend"
category: "Authentication"
url: https://railway.com/deploy/vaultwarden-2
---

# Deploy Vaultwarden

Vaultwarden, an open source, self-hostable Bitwarden backend

**[Deploy Vaultwarden on Railway](https://railway.com/template/vaultwarden-2)**

- **Creator:** Joost van der Laan's Projects
- **Category:** Authentication
- **Total deploys:** 3

## Template content

### vaultwarden

- **Source:** https://github.com/javdl/vaultwarden

## Documentation

# Deploy and Host Vaultwarden on Railway

Vaultwarden is an unofficial, lightweight Bitwarden-compatible server written in Rust. It provides a self-hosted password management solution fully compatible with official Bitwarden clients while consuming significantly fewer resources than the official server—ideal for personal use or small teams.

## About Hosting Vaultwarden

Hosting Vaultwarden requires persistent storage for the SQLite database (default) or an external database like PostgreSQL. HTTPS is mandatory since Bitwarden clients require secure connections for API communication. Key configuration involves setting environment variables for the admin panel, domain settings, and optionally SMTP for email notifications (password resets, 2FA). Railway handles HTTPS termination automatically via its proxy, simplifying deployment. The container runs as a single service, making it straightforward to deploy, though you'll want to configure backups for the data volume containing your encrypted vault.

## Common Use Cases

- Personal password management with full control over your data
- Family or small team password sharing without subscription costs
- Privacy-focused alternative to cloud-hosted password managers

## Dependencies for Vaultwarden Hosting

- Persistent volume for SQLite database (`/data` directory)
- Valid domain with HTTPS (Railway provides this automatically)

### Deployment Dependencies

- [Vaultwarden GitHub Repository](https://github.com/dani-garcia/vaultwarden)
- [Vaultwarden Wiki](https://github.com/dani-garcia/vaultwarden/wiki)
- [Bitwarden Clients](https://bitwarden.com/download/)

## 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.

## Similar templates

- [Keycloak](https://railway.com/deploy/mSwigX) — Keycloak template with keywind theme + apple and discord providers
- [lua-protector](https://railway.com/deploy/lua-protector) — Test deployed my project first
- [bknd](https://railway.com/deploy/p4nTYL) — Feature-rich yet lightweight backend

Open this page in a browser: https://railway.com/deploy/vaultwarden-2
