From 7cc87126e31db62852045955e8852009097db09d Mon Sep 17 00:00:00 2001 From: Jonathan Moody <103143855+moodyjon@users.noreply.github.com> Date: Thu, 13 Oct 2022 16:59:59 -0400 Subject: [PATCH] Add --env network.publish_host=127.0.0.1 to "make elastic-docker". --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d3349e5255..79a9f80fb8 100644 --- a/Makefile +++ b/Makefile @@ -23,4 +23,4 @@ idea: cp -r scripts/idea/* .idea elastic-docker: - docker run -d -v lbryhub:/usr/share/elasticsearch/data -p 9200:9200 -p 9300:9300 -e"ES_JAVA_OPTS=-Xms512m -Xmx512m" -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.12.1 + docker run -d --env network.publish_host=127.0.0.1 -v lbryhub:/usr/share/elasticsearch/data -p 9200:9200 -p 9300:9300 -e"ES_JAVA_OPTS=-Xms512m -Xmx512m" -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.12.1