---
title: "Deploy Triplit Server"
description: "The official template for self-hosting the Triplit Server"
category: "Storage"
url: https://railway.com/deploy/UnVh5f
---

# Deploy Triplit Server

The official template for self-hosting the Triplit Server

**[Deploy Triplit Server on Railway](https://railway.com/template/UnVh5f)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/UnVh5f/manifest.json

- **Creator:** matlin's Projects
- **Category:** Storage
- **Total deploys:** 105

## Template content

### Triplit Server https://www.triplit.dev/triplit-logo.svg

- **Image:** aspencloud/triplit-server
- **Public domain:** Yes

## Documentation

# Deploy and Host Triplit Server on Railway

A full-stack, syncing database that runs on both server and client. Pluggable storage (indexeddb, sqlite, durable objects), syncs over websockets, and works with your favorite framework (React, Solid, Vue, Svelte).

## About Hosting Triplit Server

You can run a self-hosted Triplit server completely independently or connect your self-hosted deployment to the Triplit Cloud dashboard for easier management and access to the Triplit Console.

1. Create an account on [Triplit](https://triplit.dev)
2. Create a new project
3. Update your project in Triplit Cloud to point to your Railway deployment

More info in the [Triplit Docs](https://www.triplit.dev/docs/triplit-cloud/self-hosted-deployments)


## Common Use Cases

- Local-first applications that need offline support on the client like mobile applications
- Collaborative web applications like Notion, Figma, etc that require seamless merging of concurrent edits 
- Low-latency alternative to Supabase for dashboards and other office tools

## Dependencies for Triplit Server Hosting

- None

### Deployment Dependencies

- None

### Implementation Details 

Once deployed use the Triplit CLI to push your schema to your server. Check out the [Getting Started](https://www.triplit.dev/docs/quick-start#deploy) guide for more info

## Why Deploy Triplit Server 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 Triplit Server 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

- [RustFS | (Just Updated) S3 Object Store, Public URL and Keys Set](https://railway.com/deploy/rustfs-or-just-updated-s3-object-store-p) — S3-compatible object store, keys and public URL preset, volume kept
- [TimescaleDB](https://railway.com/deploy/timescaledb-railway-template) — A PostgreSQL-based time-series database for analytics on Railway.
- [Garage S3 Storage](https://railway.com/deploy/garage-s3-storage) — Ultra-light S3 server: fast, open-source, plug-and-play.

Open this page in a browser: https://railway.com/deploy/UnVh5f
