diff --git a/Containers/fulltextsearch/healthcheck.sh b/Containers/fulltextsearch/healthcheck.sh index 5e888ea6..eca504c2 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?filter_path=status" | grep -qE '"status":"(green|yellow)"' || exit 1 diff --git a/manual-install/latest.yml b/manual-install/latest.yml index de088b87..401fa8e9 100644 --- a/manual-install/latest.yml +++ b/manual-install/latest.yml @@ -444,6 +444,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 43985ed8..74ec5372 100644 --- a/php/containers.json +++ b/php/containers.json @@ -813,6 +813,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": [