Updated es settings

This commit is contained in:
delvedor
2019-03-21 14:23:53 +01:00
parent f6e3874a82
commit 207d5e6ad8
2 changed files with 7 additions and 2 deletions

View File

@ -42,8 +42,11 @@ docker run \
--env "node.attr.testattr=test" \
--env "path.repo=/tmp" \
--env "repositories.url.allowed_urls=http://snapshot.*" \
--env "discovery.type=single-node" \
--env "discovery.zen.ping.unicast.hosts=elasticsearch" \
--env "xpack.security.enabled=false" \
--env "xpack.monitoring.enabled=false" \
--env "xpack.ml.enabled=false" \
--env ES_JAVA_OPTS="-Xms1g -Xmx1g" \
--network=esnet-oss \
--name=elasticsearch-oss \
--detach \

View File

@ -5,8 +5,10 @@ exec docker run \
-e "node.attr.testattr=test" \
-e "path.repo=/tmp" \
-e "repositories.url.allowed_urls=http://snapshot.*" \
-e "discovery.type=single-node" \
-e "discovery.zen.ping.unicast.hosts=elasticsearch" \
-e "xpack.security.enabled=false" \
-e "xpack.monitoring.enabled=false" \
-e "xpack.ml.enabled=false" \
-p 9200:9200 \
--network=elastic \
--name=elasticsearch \