Fixing lb configuration for postgres

This commit is contained in:
Mateusz Trojak 2017-02-07 17:38:12 +01:00
parent 2bb9b57fcc
commit a019210031

View File

@ -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