end to end ext ports binding

This commit is contained in:
Jêrome Rx 2017-02-24 16:45:39 +01:00
parent 3b6a8ea384
commit 614ceaf54d

View File

@ -9,6 +9,12 @@ services:
- EVENTSTORE_CLUSTER_DNS=eventstore - EVENTSTORE_CLUSTER_DNS=eventstore
- EVENTSTORE_CLUSTER_GOSSIP_PORT=2112 - EVENTSTORE_CLUSTER_GOSSIP_PORT=2112
- EVENTSTORE_EXT_HTTP_PREFIXES=http://*:${load_balancer_external_http_port}/ - EVENTSTORE_EXT_HTTP_PREFIXES=http://*:${load_balancer_external_http_port}/
- EVENTSTORE_EXT_HTTP_PORT=${load_balancer_external_http_port}
- EVENTSTORE_EXT_TCP_PORT=${load_balancer_external_tcp_port}
expose:
- "${load_balancer_external_http_port}"
- "${load_balancer_external_tcp_port}"
eventstore-lb: eventstore-lb:
image: rancher/lb-service-haproxy:v0.5.9 image: rancher/lb-service-haproxy:v0.5.9