mirror of
https://github.com/kossakovsky/n8n-install.git
synced 2026-03-08 06:43:22 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user