updated compose

This commit is contained in:
Alexander Karpov 2023-11-07 13:02:09 +03:00
parent 3c32430e9e
commit be9a5146c3

View File

@ -100,11 +100,16 @@ services:
command: /start-flower command: /start-flower
elasticsearch: elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.9.3 # Use the desired version image: elasticsearch:7.17.14
container_name: akarpov_local_elasticsearch container_name: elasticsearch
environment: environment:
- discovery.type=single-node # This avoids bootstrap checks, suitable for development. - cluster.name=docker-cluster
- ES_JAVA_OPTS=-Xms512m -Xmx512m # Set the JVM heap size - bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes: volumes:
- akarpov_local_elasticsearch_data:/usr/share/elasticsearch/data - akarpov_local_elasticsearch_data:/usr/share/elasticsearch/data
ports: ports: