Skip to content

Commit fd128d6

Browse files
committed
Disable various features
Currently throwing the following error: Caused by: java.lang.IllegalArgumentException: the [action.auto_create_index] setting value [false] is too restrictive. disable [action.auto_create_index] or set it to [.watches,.triggered_watches,.watcher-history-*] This is likely surmounted by https://github.com/tedconf/coyote/blob/master/support/elasticsearch/docker-compose.common.yml#L18-L22 so I port these settings over and try again.
1 parent 2042aee commit fd128d6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

entrypoint.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,17 @@ if [ "x${MAJOR_VERSION}" == 'x6' ]; then
2727
docker run \
2828
--rm \
2929
--env "node.name=es1" \
30+
--env "action.auto_create_index=false" \
3031
--env "cluster.name=docker-elasticsearch" \
3132
--env "cluster.routing.allocation.disk.threshold_enabled=false" \
3233
--env "bootstrap.memory_lock=true" \
3334
--env "ES_JAVA_OPTS=-Xms1g -Xmx1g" \
3435
--env "xpack.security.enabled=false" \
36+
--env "xpack.graph.enabled=false" \
37+
--env "xpack.ml.enabled=false" \
38+
--env "xpack.monitoring.enabled=false" \
39+
--env "xpack.security.enabled=false" \
40+
--env "xpack.watcher.enabled=false" \
3541
--env "xpack.license.self_generated.type=basic" \
3642
--ulimit nofile=65536:65536 \
3743
--ulimit memlock=-1:-1 \

0 commit comments

Comments
 (0)