docker-compose.yml: elasticsearch: add some more options

inspired by https://github.com/elastic/elasticsearch/issues/85463#issuecomment-2299705984
This commit is contained in:
maxlath
2025-02-27 20:08:20 +01:00
parent 8479151e63
commit e5a71bd9ea

View File

@@ -43,6 +43,11 @@ services:
# Limit memory usage to 512MB, that should be enough at first # Limit memory usage to 512MB, that should be enough at first
# See https://www.elastic.co/guide/en/elasticsearch/reference/current/advanced-configuration.html # See https://www.elastic.co/guide/en/elasticsearch/reference/current/advanced-configuration.html
- 'ES_JAVA_OPTS=-Xms512m -Xmx512m' - 'ES_JAVA_OPTS=-Xms512m -Xmx512m'
- 'xpack.security.enabled=false'
- 'ingest.geoip.downloader.enabled=false'
- 'logger.org.elasticsearch=ERROR'
- 'logger.com.azure.core=ERROR'
- 'logger.org.apache=ERROR'
volumes: volumes:
- 'elasticsearch:/usr/share/elasticsearch/data' - 'elasticsearch:/usr/share/elasticsearch/data'
restart: unless-stopped restart: unless-stopped