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 image: rancher/lb-service-haproxy:v0.5.9
ports: ports:
- ${load_balancer_external_http_port}:${load_balancer_external_http_port}/tcp - ${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: labels:
io.rancher.container.agent.role: environmentAdmin io.rancher.container.agent.role: environmentAdmin
io.rancher.container.create_agent: 'true' io.rancher.container.create_agent: 'true'

View File

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