Skip to content

Commit 00c66d3

Browse files
committed
Use single-node discovery type
Since we’re getting the following error on setup after adding `action.auto_create_index` maybe we need to enable `single_node` to work properly: | + docker run --network elastic --rm appropriate/curl --max-time 120 --retry 120 --retry-delay 1 --retry-connrefused --show-error --silent http://es1:9200 | curl: (7) Failed to connect to es1 port 9200: Host is unreachable [Rails/test] ❌ Failure - Setup and start Elasticsearch
1 parent 303f947 commit 00c66d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ if [ "x${MAJOR_VERSION}" == 'x6' ]; then
3232
--env "cluster.routing.allocation.disk.threshold_enabled=false" \
3333
--env "bootstrap.memory_lock=true" \
3434
--env "ES_JAVA_OPTS=-Xms1g -Xmx1g" \
35+
--env "discovery.type=single-node" \
3536
--env "xpack.security.enabled=false" \
3637
--env "xpack.license.self_generated.type=basic" \
3738
--ulimit nofile=65536:65536 \

0 commit comments

Comments
 (0)