Created
January 15, 2019 14:00
-
-
Save dineshsonachalam/743fb5237dedb60d65a065dcbffb18e8 to your computer and use it in GitHub Desktop.
Elastic Search docker-compose file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
elasticsearch: | |
image: "elasticsearch:5" | |
networks: | |
- frontend | |
restart: always | |
volumes: | |
- ./ES_DATA:/usr/share/elasticsearch/data | |
environment: | |
- discovery.type=single-node | |
- bootstrap.memory_lock = true | |
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" | |
ports: | |
- "9200:9200" | |
networks: | |
frontend: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment