File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,11 @@ docker run \
4242 --env " node.attr.testattr=test" \
4343 --env " path.repo=/tmp" \
4444 --env " repositories.url.allowed_urls=http://snapshot.*" \
45- --env " discovery.type=single-node " \
45+ --env " discovery.zen.ping.unicast.hosts=elasticsearch " \
4646 --env " xpack.security.enabled=false" \
47+ --env " xpack.monitoring.enabled=false" \
48+ --env " xpack.ml.enabled=false" \
49+ --env ES_JAVA_OPTS=" -Xms1g -Xmx1g" \
4750 --network=esnet-oss \
4851 --name=elasticsearch-oss \
4952 --detach \
Original file line number Diff line number Diff line change @@ -5,8 +5,10 @@ exec docker run \
55 -e " node.attr.testattr=test" \
66 -e " path.repo=/tmp" \
77 -e " repositories.url.allowed_urls=http://snapshot.*" \
8- -e " discovery.type=single-node " \
8+ -e " discovery.zen.ping.unicast.hosts=elasticsearch " \
99 -e " xpack.security.enabled=false" \
10+ -e " xpack.monitoring.enabled=false" \
11+ -e " xpack.ml.enabled=false" \
1012 -p 9200:9200 \
1113 --network=elastic \
1214 --name=elasticsearch \
You can’t perform that action at this time.
0 commit comments