mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Differentiate between connection address and listen address
For example you can listen on 0.0.0.0 but provide service on some didicated ip. This should cover all possible use-cases when you are running behind firewall, load balancer or inside for example docker.
This commit is contained in:
@@ -6,6 +6,7 @@ etcd:
|
||||
postgresql:
|
||||
name: postgresql0
|
||||
listen: 127.0.0.1:5432
|
||||
connection_address: 127.0.0.1:5432
|
||||
data_dir: data/postgresql0
|
||||
maximum_lag_on_failover: 1048576 # 1 megabyte in bytes
|
||||
replication:
|
||||
|
||||
Reference in New Issue
Block a user