Created
January 11, 2019 16:56
-
-
Save JPrevost/e9616efd4f4f2f98a95abe7184436198 to your computer and use it in GitHub Desktop.
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: '2.2' | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:6.5.0 | |
container_name: elasticsearch | |
environment: | |
- discovery.type=single-node | |
- xpack.security.enabled=false | |
- cluster.name=docker-cluster | |
- bootstrap.memory_lock=true | |
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" | |
ulimits: | |
memlock: | |
soft: -1 | |
hard: -1 | |
volumes: | |
- esdata1:/usr/share/elasticsearch/data | |
ports: | |
- 9200:9200 | |
networks: | |
- esnet | |
volumes: | |
esdata1: | |
driver: local | |
networks: | |
esnet: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment