From 6fb08d6569a1294dab194b3d860dff8d4c9ddfb4 Mon Sep 17 00:00:00 2001 From: Alexander-D-Karpov Date: Mon, 20 Nov 2023 22:51:34 +0300 Subject: [PATCH] updated elastic --- local.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/local.yml b/local.yml index 44c28a4..3728ccf 100644 --- a/local.yml +++ b/local.yml @@ -100,18 +100,15 @@ services: command: /start-flower elasticsearch: - image: elasticsearch:8.11.1 - container_name: elasticsearch - environment: - - cluster.name=docker-cluster - - bootstrap.memory_lock=true - - "ES_JAVA_OPTS=-Xms6g -Xmx512m" - ulimits: - memlock: - soft: -1 - hard: -1 - volumes: - - akarpov_local_elasticsearch_data:/usr/share/elasticsearch/data + image: elasticsearch:8.8.0 ports: - "9200:9200" - "9300:9300" + environment: + - node.name=activity + - discovery.type=single-node + - cluster.name=ws-es-data-cluster + - bootstrap.memory_lock=true + - "ES_JAVA_OPTS=-Xms4g -Xmx4g" + volumes: + - akarpov_local_elasticsearch_data:/usr/share/elasticsearch/data