---
title: "Deploy ElectricSQL with your own Postgres"
description: "Electric for your existing Postgres. Sync little subsets of your data."
category: "Other"
url: https://railway.com/deploy/electricsql-1
---

# Deploy ElectricSQL with your own Postgres

Electric for your existing Postgres. Sync little subsets of your data.

**[Deploy ElectricSQL with your own Postgres on Railway](https://railway.com/template/electricsql-1)**

- **Creator:** SuperSlowSloth
- **Category:** Other
- **Total deploys:** 16

## Template content

### electric

- **Image:** electricsql/electric:latest
- **Public domain:** Yes

## Documentation

# Deploy and Host ElectricSQL on Railway

Sync makes apps awesome.
Electric solves sync. https://electric-sql.com

## About Hosting ElectricSQL

Enable replication in Postgres using the following SQL command
```
ALTER SYSTEM SET wal_level = 'logical';
SELECT pg_reload_conf();
```
restart the db, that's it!

## Common Use Cases

- Simplifies your code
- No loading spinners

## Dependencies for ElectricSQL Hosting

None

### Deployment Dependencies
- Postgres https://railway.com/deploy/postgres


## Why Deploy ElectricSQL 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 ElectricSQL 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

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — [Jul'26] Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/electricsql-1
