Skip to content

Commit 207d5e6

Browse files
committed
Updated es settings
1 parent f6e3874 commit 207d5e6

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.ci/run-tests

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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 \

scripts/es-docker.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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 \

0 commit comments

Comments
 (0)