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 \
42
42
--env " node.attr.testattr=test" \
43
43
--env " path.repo=/tmp" \
44
44
--env " repositories.url.allowed_urls=http://snapshot.*" \
45
- --env " discovery.type=single-node " \
45
+ --env " discovery.zen.ping.unicast.hosts=elasticsearch " \
46
46
--env " xpack.security.enabled=false" \
47
+ --env " xpack.monitoring.enabled=false" \
48
+ --env " xpack.ml.enabled=false" \
49
+ --env ES_JAVA_OPTS=" -Xms1g -Xmx1g" \
47
50
--network=esnet-oss \
48
51
--name=elasticsearch-oss \
49
52
--detach \
Original file line number Diff line number Diff line change @@ -5,8 +5,10 @@ exec docker run \
5
5
-e " node.attr.testattr=test" \
6
6
-e " path.repo=/tmp" \
7
7
-e " repositories.url.allowed_urls=http://snapshot.*" \
8
- -e " discovery.type=single-node " \
8
+ -e " discovery.zen.ping.unicast.hosts=elasticsearch " \
9
9
-e " xpack.security.enabled=false" \
10
+ -e " xpack.monitoring.enabled=false" \
11
+ -e " xpack.ml.enabled=false" \
10
12
-p 9200:9200 \
11
13
--network=elastic \
12
14
--name=elasticsearch \
You can’t perform that action at this time.
0 commit comments