Last active
April 12, 2019 11:58
-
-
Save omurbekjk/190279fe8a629fcc7de13a5d1a1cd0cc to your computer and use it in GitHub Desktop.
Elastic search, kibana simple docker-compose file
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.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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Type:
docker-compose -f elastic-kibana.yml up
in your terminal in order to run Elastic search and Kibana.Default credentials:
browse: http://localhost:9200 for ElasticSearch, http://localhost:5601 for Kibana dashboard