mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-22 07:26:33 +03:00
updated compose
This commit is contained in:
parent
3c32430e9e
commit
be9a5146c3
13
local.yml
13
local.yml
|
@ -100,11 +100,16 @@ services:
|
|||
command: /start-flower
|
||||
|
||||
elasticsearch:
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:7.9.3 # Use the desired version
|
||||
container_name: akarpov_local_elasticsearch
|
||||
image: elasticsearch:7.17.14
|
||||
container_name: elasticsearch
|
||||
environment:
|
||||
- discovery.type=single-node # This avoids bootstrap checks, suitable for development.
|
||||
- ES_JAVA_OPTS=-Xms512m -Xmx512m # Set the JVM heap size
|
||||
- cluster.name=docker-cluster
|
||||
- bootstrap.memory_lock=true
|
||||
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
||||
ulimits:
|
||||
memlock:
|
||||
soft: -1
|
||||
hard: -1
|
||||
volumes:
|
||||
- akarpov_local_elasticsearch_data:/usr/share/elasticsearch/data
|
||||
ports:
|
||||
|
|
Loading…
Reference in New Issue
Block a user