Upgrade Elasticsearch to 7.13.2 and increase its heap to 2GB.

This commit is contained in:
Ivaylo Novakov 2021-06-16 15:32:06 +02:00
parent f56bacb68b
commit b73107e73c
No known key found for this signature in database
GPG Key ID: 06B9354AB08BE9C6
1 changed files with 2 additions and 1 deletions

View File

@ -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