docs/deploy/cloud-platforms/railway.mdx
Railway is a cloud platform for deploying and managing applications. The ParadeDB Railway template provides a one-click deployment that runs ParadeDB Community with persistent storage and a TCP proxy.
The fastest way to get started is to click the button below, which will deploy ParadeDB to your Railway account.
Railway automatically provisions a Docker container running paradedb/paradedb:latest with the following
environment variables:
| Variable | Description | Default |
|---|---|---|
POSTGRES_USER | Database user | postgres |
POSTGRES_PASSWORD | Database password | Auto-generated |
POSTGRES_DB | Database name | paradedb |
PGPORT | Connection port | 5432 |
DATABASE_URL | Private connection string | Auto-generated |
DATABASE_PUBLIC_URL | Public connection string | Auto-generated |
Railway provides both private and public connection strings. You can find these in the Variables tab of your service in the Railway dashboard.
To connect from other services on your Railway project, use the private DATABASE_URL:
psql $DATABASE_URL
To connect from your local machine, use the public connection string:
psql $DATABASE_PUBLIC_URL