
Deploy Patroni
Patroni is a template for high availability (HA) PostgreSQL.
Patroni Worker 1
Just deployed
/data
ETCD Worker 3
Just deployed
/var/lib/etcd
Patroni Worker 3
Just deployed
/data
HAProxy
Just deployed
ETCD Worker 2
Just deployed
/var/lib/etcd
Patroni Worker 2
Just deployed
/data
ETCD Worker 1
Just deployed
/var/lib/etcd
Deploy and Host Patroni on Railway
Patroni is a template for high availability (HA) PostgreSQL solutions using Python. Database engineers, DBAs, DevOps engineers, and SREs who are looking to quickly deploy HA PostgreSQL in datacenters - or anywhere else - will hopefully find it useful.
Common Use Cases
- Extremely high availability hosted Postgres.
- Postgres that never, ever goes down.
HAProxy Configuration
When you deploy HAProxy, a password will be generated under the variable STATS_PASSWORD. You can use this with the username admin to log into the statistics page at the service's public domain.
HAProxy template configuration: https://github.com/thesamgordon/patroni-haproxy/blob/main/haproxy.template.cfg
Template Content
Patroni Worker 1
patroni/patroniETCD Worker 3
patroni/patroniPatroni Worker 3
patroni/patroniHAProxy
thesamgordon/patroni-haproxyETCD Worker 2
patroni/patroniPatroni Worker 2
patroni/patroniETCD Worker 1
patroni/patroni