---
title: "Deploy EdgeDB with separate PostgreSQL"
description: "EdgeDB template to connect to a managed Railway PostgreSQL instance"
category: "Storage"
url: https://railway.com/deploy/6AT4wH
---

# Deploy EdgeDB with separate PostgreSQL

EdgeDB template to connect to a managed Railway PostgreSQL instance

**[Deploy EdgeDB with separate PostgreSQL on Railway](https://railway.com/template/6AT4wH)**

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

- **Creator:** Ajit Krishna's Projects
- **Category:** Storage
- **Total deploys:** 9

## Template content

### edgedb

- **Image:** edgedb/edgedb

## Documentation

Refer to the [Official EdgeDB Docker Deployment Guide](https://www.edgedb.com/docs/guides/deployment/docker). This template follows that guide as closely as possible.

This template expects there to already be a running PostgreSQL instance in the project. Retrieve its connection url in URI format, and paste that as the environment variable for `EDGEDB_SERVER_BACKEND_DSN`.

This template also expects a password to be set in the field `EDGEDB_SERVER_PASSWORD`. For this value, set the password to be exactly the same as the PostgreSQL instance.

There are a few additional environment variables that you can configure:
- Admin UI is turned on

## 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.
- [Neo4j 2026.10 Community](https://railway.com/deploy/neo4j-202610-community) — Neo4j graph database with APOC, Browser, Bolt TCP proxy and a volume

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