Expose Elasticsearch port for binary protocol
Change-Id: I7bc5c3ee1051f3e1c03d6f6e3d9f8c8ed1c3b885
diff --git a/docker/swarm/stack/elasticsearch.yml b/docker/swarm/stack/elasticsearch.yml
index ae63d5c..7e3a7a6 100644
--- a/docker/swarm/stack/elasticsearch.yml
+++ b/docker/swarm/stack/elasticsearch.yml
@@ -17,12 +17,13 @@
discovery.type: ${_param:elasticsearch_discovery_type}
service:
cluster:
- image: ${_param:docker_image_oss_elasticsearch}
+ image: ${_param:docker_image_elasticsearch}
deploy:
replicas: ${_param:elasticsearch_replicas}
restart_policy:
condition: any
ports:
- - ${_param:haproxy_elasticsearch_exposed_port}:${_param:haproxy_elasticsearch_bind_port}
+ - ${_param:haproxy_elasticsearch_http_exposed_port}:${_param:haproxy_elasticsearch_http_bind_port}
+ - ${_param:haproxy_elasticsearch_binary_exposed_port}:${_param:haproxy_elasticsearch_binary_bind_port}
volumes:
- /srv/volumes/elasticsearch:/usr/share/elasticsearch/data
\ No newline at end of file