Skip to content

Commit

Permalink
Update to the latest stable version
Browse files Browse the repository at this point in the history
  • Loading branch information
xeraa committed Oct 20, 2021
1 parent 33fa42b commit 6e22dcb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ELASTIC_VERSION=7.12.0
ELASTIC_VERSION=7.15.1
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
---
version: '2'
version: '2.2'
services:

elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:$ELASTIC_VERSION
environment:
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
mem_limit: 1g
volumes:
- esdata1:/usr/share/elasticsearch/data
- esdata:/usr/share/elasticsearch/data
ports:
- 9200:9200

Expand All @@ -26,5 +26,5 @@ services:
- 5601:5601

volumes:
esdata1:
esdata:
driver: local

0 comments on commit 6e22dcb

Please sign in to comment.