mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-13 15:37:12 +00:00
[es] Fixed #45 with corrected binding and re-worked example
* also upgraded to 2.1.0 * added a MULTICAST env var for supporting networks
This commit is contained in:
1 parent
39bb0d75e2
commit
847f403bd3
4 files changed
+29
-13
No files matched your search
@@ -2,7 +2,7 @@ FROM itzg/ubuntu-openjdk-7
|
||||
|
||||
MAINTAINER itzg
|
||||
|
||||
ENV ES_VERSION 2.0.0
|
||||
ENV ES_VERSION 2.1.0
|
||||
|
||||
RUN wget -qO /tmp/es.tgz https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/$ES_VERSION/elasticsearch-$ES_VERSION.tar.gz && \
|
||||
cd /usr/share && \
|
||||
@@ -23,6 +23,6 @@ USER elasticsearch
|
||||
|
||||
EXPOSE 9200 9300
|
||||
|
||||
ENV OPTS=-Dnetwork.bind_host=_non_loopback_
|
||||
ENV OPTS=-Dnetwork.host=_non_loopback_
|
||||
|
||||
CMD ["/start"]
|
||||
Reference in new issue
Block a user