diff --git a/Containers/fulltextsearch/healthcheck.sh b/Containers/fulltextsearch/healthcheck.sh index 5e888ea6..bdc4d92b 100644 --- a/Containers/fulltextsearch/healthcheck.sh +++ b/Containers/fulltextsearch/healthcheck.sh @@ -1,3 +1,3 @@ #!/bin/bash -nc -z 127.0.0.1 9200 || exit 1 +curl -fs "http://127.0.0.1:9200/_cluster/health" | grep -qv '"status":"red"' || exit 1 diff --git a/manual-install/latest.yml b/manual-install/latest.yml index c6b81f16..fa189abe 100644 --- a/manual-install/latest.yml +++ b/manual-install/latest.yml @@ -441,6 +441,9 @@ services: - http.port=9200 - xpack.license.self_generated.type=basic - xpack.security.enabled=false + - indices.fielddata.cache.size=20% + - indices.memory.index_buffer_size=20% + - thread_pool.write.queue_size=1000 - FULLTEXTSEARCH_PASSWORD volumes: - nextcloud_aio_elasticsearch:/usr/share/elasticsearch/data:rw diff --git a/php/containers.json b/php/containers.json index 96346cfe..511a2bb1 100644 --- a/php/containers.json +++ b/php/containers.json @@ -809,6 +809,9 @@ "http.port=9200", "xpack.license.self_generated.type=basic", "xpack.security.enabled=false", + "indices.fielddata.cache.size=20%", + "indices.memory.index_buffer_size=20%", + "thread_pool.write.queue_size=1000", "FULLTEXTSEARCH_PASSWORD=%FULLTEXTSEARCH_PASSWORD%" ], "volumes": [