Update Elasticsearch configuration in docker-compose.yml

- Increased Java heap size from 1g to 2g for improved performance.
- Disabled unnecessary security features and geoip downloader to streamline setup.
- Adjusted health check parameters to allow for more retries and a longer start period, enhancing service stability.
This commit is contained in:
Yury Kossakovsky
2025-10-29 12:07:54 -06:00
parent bf5575a48f
commit 083759ec4e

View File

@@ -867,15 +867,11 @@ services:
environment:
- discovery.type=single-node
- xpack.security.enabled=false
- ES_JAVA_OPTS=-Xms1g -Xmx1g
- bootstrap.memory_lock=true
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
- xpack.security.http.ssl.enabled=false
- xpack.security.transport.ssl.enabled=false
- ES_JAVA_OPTS=-Xms2g -Xmx2g
- ingest.geoip.downloader.enabled=false
- cluster.routing.allocation.disk.threshold_enabled=false
healthcheck:
test:
[
@@ -884,8 +880,8 @@ services:
]
interval: 10s
timeout: 5s
retries: 10
start_period: 60s
retries: 30
start_period: 120s
volumes:
- ragflow_es_data:/usr/share/elasticsearch/data