Fixing lb configuration for postgres
This commit is contained in:
parent
2bb9b57fcc
commit
a019210031
@ -34,8 +34,13 @@ version: '2'
|
||||
services:
|
||||
postgres-lb:
|
||||
scale: 1
|
||||
load_balancer_config:
|
||||
haproxy_config: {}
|
||||
lb_config:
|
||||
certs: []
|
||||
port_rules:
|
||||
- protocol: tcp
|
||||
service: postgres
|
||||
source_port: ${lb_port}
|
||||
target_port: 5432
|
||||
health_check:
|
||||
port: 42
|
||||
interval: 2000
|
||||
|
Loading…
x
Reference in New Issue
Block a user