[es] Fix address binding for Swarm Mode

This commit is contained in:
Geoff Bourne
2017-01-23 10:25:50 -06:00
parent 4a7ecffcbb
commit b8d69278e4
3 changed files with 18 additions and 14 deletions
-2
View File
@@ -15,8 +15,6 @@ EXPOSE 9200 9300
ENV ES_HOME=/usr/share/elasticsearch-$ES_VERSION \
DEFAULT_ES_USER=elasticsearch \
DISCOVER_TRANSPORT_IP=eth0 \
DISCOVER_HTTP_IP=eth0 \
ES_JAVA_OPTS="-Xms1g -Xmx1g"
RUN adduser -S -s /bin/sh $DEFAULT_ES_USER