Skip to content

Instantly share code, notes, and snippets.

@omurbekjk
Last active April 12, 2019 11:58
Show Gist options
  • Save omurbekjk/190279fe8a629fcc7de13a5d1a1cd0cc to your computer and use it in GitHub Desktop.
Save omurbekjk/190279fe8a629fcc7de13a5d1a1cd0cc to your computer and use it in GitHub Desktop.
Elastic search, kibana simple docker-compose file
version: '2.1'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:5.4.3
container_name: elasticsearch
ports:
- "9200:9200"
- "9300:9300"
networks:
- docker-elk
kibana:
image: docker.elastic.co/kibana/kibana:5.4.3
container_name: kibana
ports:
- "5601:5601"
environment:
- "ELASTICSEARCH_URL=http://elasticsearch:9200"
networks:
- docker-elk
depends_on:
- elasticsearch
networks:
docker-elk:
driver: bridge
@omurbekjk
Copy link
Author

Type: docker-compose -f elastic-kibana.yml up in your terminal in order to run Elastic search and Kibana.
Default credentials:

username: elastic
password: changeme

browse: http://localhost:9200 for ElasticSearch, http://localhost:5601 for Kibana dashboard

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