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