more binding

This commit is contained in:
Jêrome Rx 2017-02-24 16:20:33 +01:00
parent ced9059966
commit 82c4237b2a
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ services:
image: rancher/lb-service-haproxy:v0.5.9
ports:
- ${load_balancer_external_http_port}:${load_balancer_external_http_port}/tcp
- ${load_balancer_external_tcp_port}:1113/tcp
- ${load_balancer_external_tcp_port}:${load_balancer_external_http_port}/tcp
labels:
io.rancher.container.agent.role: environmentAdmin
io.rancher.container.create_agent: 'true'

View File

@ -36,14 +36,14 @@ services:
protocol: http
service: eventstore
source_port: ${load_balancer_external_http_port}
target_port: 2113
target_port: ${load_balancer_external_http_port}
- hostname: ''
path: ''
priority: 2
protocol: tcp
service: eventstore
source_port: ${load_balancer_external_tcp_port}
target_port: 1113
target_port: ${load_balancer_external_tcp_port}
health_check:
response_timeout: 2000
healthy_threshold: 2