Upgrade Elasticsearch to 7.13.2 and increase its heap to 2GB.
This commit is contained in:
parent
f56bacb68b
commit
b73107e73c
|
@ -84,11 +84,12 @@ services:
|
||||||
- elasticsearch
|
- elasticsearch
|
||||||
|
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.8.15
|
image: docker.elastic.co/elasticsearch/elasticsearch:7.13.2
|
||||||
container_name: elasticsearch
|
container_name: elasticsearch
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
environment:
|
environment:
|
||||||
- discovery.type=single-node
|
- discovery.type=single-node
|
||||||
|
- "ES_JAVA_OPTS=-Xms2g -Xmx2g"
|
||||||
volumes:
|
volumes:
|
||||||
# This dir needs to be chowned to 1000:1000
|
# This dir needs to be chowned to 1000:1000
|
||||||
- ./docker/data/elasticsearch/data:/usr/share/elasticsearch/data
|
- ./docker/data/elasticsearch/data:/usr/share/elasticsearch/data
|
||||||
|
|
Reference in New Issue