Skip to content

Instantly share code, notes, and snippets.

@brianpursley
Created August 30, 2018 02:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianpursley/9df6dfeb91ef4b162831debe28ef0f41 to your computer and use it in GitHub Desktop.
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
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
@brianpursley
Copy link
Author

use docker-compose up and then navigate to http://localhost:5601

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment