Last active
January 3, 2017 04:34
-
-
Save asigatchov/417ac1dad9b57ae2ad25d62e87604f28 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' | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:5.1.1 | |
container_name: elasticsearch | |
environment: | |
- bootstrap.memory_lock=true | |
- "ES_JAVA_OPTS=-Xms7g -Xmx7g" | |
- xpack.security.enabled=false | |
- http.host=0.0.0.0 | |
- http.max_content_length=200m | |
- transport.host=127.0.0.1 | |
ulimits: | |
memlock: | |
soft: -1 | |
hard: -1 | |
nofile: | |
soft: 65536 | |
hard: 65536 | |
mem_limit: 7500M | |
cap_add: | |
- IPC_LOCK | |
volumes: | |
- esdata1:/usr/share/elasticsearch/data | |
ports: | |
- 9200:9200 | |
networks: | |
- esnet | |
kibana: | |
image: docker.elastic.co/kibana/kibana:5.1.1 | |
environment: | |
ELASTICSEARCH_URL: http://elasticsearch:9200 | |
ports: | |
- 5601:5601 | |
networks: | |
- esnet | |
volumes: | |
- ./kibana.yml:/usr/share/kibana/config/kibana.yml | |
volumes: | |
esdata1: | |
driver: local | |
networks: | |
esnet: | |
driver: bridge |
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
server.host: "0.0.0.0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment