ElasticSearch Cluster + Logstash + Kibana in Docker
Last active
June 30, 2016 16:46
-
-
Save twang2218/f23d91bbd08534cdd87ea9b88b38550b to your computer and use it in GitHub Desktop.
ElasticSearch Cluster + Logstash + Kibana in Docker
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' | |
services: | |
elasticsearch: | |
build: . | |
# image: elasticsearch:2 | |
ports: | |
- "9200:9200" | |
elasticsearch-node: | |
image: elasticsearch:2 | |
command: elasticsearch --discovery.zen.ping.unicast.hosts=elasticsearch | |
depends_on: | |
- elasticsearch | |
logstash: | |
image: logstash:2 | |
command: logstash -e 'input { file { path => "/tmp/logstash.txt" } } output { elasticsearch { hosts => "elasticsearch:9200" } }' | |
depends_on: | |
- elasticsearch | |
kibana: | |
image: kibana:4 | |
ports: | |
- "5601:5601" | |
depends_on: | |
- elasticsearch | |
volumes: | |
es-data: {} |
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
FROM elasticsearch:2 | |
MAINTAINER Tao Wang <[email protected]> | |
RUN set -xe \ | |
&& ./bin/plugin install mobz/elasticsearch-head \ | |
&& ./bin/plugin install AIsaac08/bigdesk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment