
PgBouncer+Postgres+PgAdmin : 1$
Optimized PostgreSQL Database Stack
postgres
antisofisme/railway
Just deployed
/var/lib/postgresql/data
pgadmin
antisofisme/railway
Just deployed
pgbouncer
antisofisme/railway
Just deployed
Optimized PostgreSQL Database Stack
What You Get
This template provides a complete PostgreSQL database stack optimized for high performance and production-ready, with the best configuration for modern applications like n8n.
Components:
- PostgreSQL 17: Main database with high-performance configuration
- PgBouncer: Connection pooler to reduce connection overhead and increase throughput
- pgAdmin: Intuitive web interface for database management
Key Features
- ✅ Production Ready: Pre-configured with best practices for production deployment
- ✅ Zero Config: Runs automatically with synchronization between components
- ✅ IPv6 Ready: Full IPv6 communication support for Railway compatibility
- ✅ Performance Optimized: Parameters specially tuned for maximum throughput
- ✅ Secure: SSL/TLS enabled by default for encrypted connections
- ✅ Resource Efficient: Optimized scaling and caching settings
Usage Instructions
- Deploy Template: Simply click "Deploy" and Railway will set up all components
- Access pgAdmin: Open the public URL to access the pgAdmin interface
- Application Connection: Use Railway variables to connect to PostgreSQL through PgBouncer
Environment Variables
- Database accessed via:
${{pgbouncer.PGBOUNCER_HOST}}:${{pgbouncer.PGBOUNCER_LISTEN_PORT}}
- Default credentials: User=
n8n
, Password=postgres123
(change as needed)
Technical Specifications
- PostgreSQL 17 with persistent storage
- PgBouncer with "transaction" pool mode and connection optimization
- pgAdmin 4 for database administration through web UI
- Pre-generated SSL/TLS certificates for encrypted connections
Support me if you think this is good, one dollar is also very valuable to me, I'm really broke man. https://linktr.ee/givemesomehope
Template Content