All Templates / Storage
PostgreSQL
PostgreSQL database service
Postgres
railwayapp-templates/postgres-ssl:16
Just deployed
/var/lib/postgresql/data
PostgreSQL database service, deployed with Railway's official SSL-enabled image.
Reference the DATABASE_URL
variable to connect to Postgres (e.g. ${{Postgres.DATABASE_URL}}
) from another service in your project.
Connect to the database from outside of Railway using the TCP Proxy.
In a terminal, for example:
psql "postgres://railway:PASSWORD@PROXY_DOMAIN:PROXY_PORT/railway"
Template Content
Details
Railway Templates
Created on Sep 7, 2023
60650 total projects
42211 active projects
100% success on recent deploys
Storage
More templates in this category