mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-06 05:51:49 +08:00
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:
parent
56e3f27d6c
commit
faa5947963
2 changed files with 11 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
# Probably from here https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/Dockerfile
|
# 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
|
USER root
|
||||||
|
|
||||||
|
|
|
@ -499,10 +499,18 @@
|
||||||
],
|
],
|
||||||
"internal_port": "9200",
|
"internal_port": "9200",
|
||||||
"environment": [
|
"environment": [
|
||||||
|
"POSTGRES_HOST=nextcloud-aio-database",
|
||||||
"TZ=%TIMEZONE%",
|
"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",
|
"discovery.type=single-node",
|
||||||
"ES_JAVA_OPTS=-Xms1024M -Xmx1024M",
|
"thread_pool.write.queue_size=1000"
|
||||||
"POSTGRES_HOST=nextcloud-aio-database"
|
|
||||||
],
|
],
|
||||||
"volumes": [
|
"volumes": [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue