Created
August 30, 2018 02:18
-
-
Save brianpursley/9df6dfeb91ef4b162831debe28ef0f41 to your computer and use it in GitHub Desktop.
Docker compose config for running Elastic Search and Kibana locally in docker containers
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: | |
| container_name: elasticsearch | |
| image: docker.elastic.co/elasticsearch/elasticsearch:6.4.0 | |
| volumes: | |
| - esdata:/usr/share/elasticsearch/data | |
| ports: | |
| - 9200:9200 | |
| environment: | |
| - discovery.type=single-node | |
| kibana: | |
| container_name: kibana | |
| image: docker.elastic.co/kibana/kibana:6.4.0 | |
| environment: | |
| ELASTICSEARCH_URL: http://elasticsearch | |
| ports: | |
| - 5601:5601 | |
| volumes: | |
| esdata: | |
| driver: local |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
use
docker-compose upand then navigate to http://localhost:5601