Created
August 15, 2019 17:32
-
-
Save bvader/627dd40fffc171c5d010bcbdaf3f6790 to your computer and use it in GitHub Desktop.
This file contains 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:${TAG} | |
environment: ['ES_JAVA_OPTS=-Xms2g -Xmx2g','bootstrap.memory_lock=true','discovery.type=single-node', 'http.host=0.0.0.0', 'transport.host=127.0.0.1'] | |
ports: ['127.0.0.1:9200:9200'] | |
networks: ['stack'] | |
ulimits: | |
memlock: | |
soft: -1 | |
hard: -1 | |
nofile: | |
soft: 65536 | |
hard: 65536 | |
kibana: | |
image: docker.elastic.co/kibana/kibana:${TAG} | |
ports: ['127.0.0.1:5601:5601'] | |
networks: ['stack'] | |
depends_on: ['elasticsearch'] | |
networks: {stack: {}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment