Merge pull request #888 from SkynetLabs/ivo/es_upgrade

Upgrade Elasticsearch to 7.13.2 and increase its heap to 2GB.
This commit is contained in:
Karol Wypchło 2021-06-16 15:38:02 +02:00 committed by GitHub
commit 6298afdd1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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