update to ES 8 and add necessary adjustements to its config

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-06-07 14:43:09 +02:00
parent 56e3f27d6c
commit faa5947963
2 changed files with 11 additions and 3 deletions

View file

@ -1,5 +1,5 @@
# Probably from here https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/Dockerfile
FROM elasticsearch:7.17.10
FROM elasticsearch:8.7.1
USER root

View file

@ -499,10 +499,18 @@
],
"internal_port": "9200",
"environment": [
"POSTGRES_HOST=nextcloud-aio-database",
"TZ=%TIMEZONE%",
"ES_JAVA_OPTS=-Xms1024M -Xmx1024M -Des.enforce.bootstrap.checks=true",
"xpack.license.self_generated.type=basic",
"xpack.security.enabled=false",
"xpack.watcher.enabled=false",
"xpack.graph.enabled=false",
"xpack.ml.enabled=false",
"bootstrap.memory_lock=true",
"cluster.name=nextcloud-aio",
"discovery.type=single-node",
"ES_JAVA_OPTS=-Xms1024M -Xmx1024M",
"POSTGRES_HOST=nextcloud-aio-database"
"thread_pool.write.queue_size=1000"
],
"volumes": [
{