Created
August 20, 2018 10:05
-
-
Save M4R14/2230c6482d869f35fc3f54d4d067e2e6 to your computer and use it in GitHub Desktop.
docker-compose for Elasticsearch & Kibana
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.3.2 | |
| container_name: elasticsearch | |
| environment: | |
| - cluster.name=docker-cluster | |
| - bootstrap.memory_lock=true | |
| - "ES_JAVA_OPTS=-Xms512m -Xmx512m" | |
| ulimits: | |
| memlock: | |
| soft: -1 | |
| hard: -1 | |
| volumes: | |
| - ./esdata:/usr/share/elasticsearch/data | |
| ports: | |
| - 9200:9200 | |
| kibana: | |
| image: docker.elastic.co/kibana/kibana:6.3.2 | |
| environment: | |
| SERVER_NAME: kibana.example.org | |
| SERVER_HOST: 0.0.0.0 | |
| ELASTICSEARCH_URL: http://elasticsearch:9200 | |
| ports: | |
| - 5601:5601 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment