mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-25 16:23:43 +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
|
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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user