Created
April 12, 2016 16:50
-
-
Save divideby0/79aeac8a491b49a4a4ea9784e79346eb to your computer and use it in GitHub Desktop.
ELK reference setup
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: | |
image: elasticsearch | |
ports: | |
- 9200:9200 | |
kibana: | |
image: kibana | |
ports: | |
- 5601:5601 | |
environment: | |
- ELASTICSEARCH_URL=http://elasticsearch:9200 | |
links: | |
- elasticsearch | |
logstash: | |
image: logstash | |
ports: | |
- "5000:5000" | |
volumes: | |
- "./elk/logstash/:/config-dir" | |
command: "logstash -f /config-dir/logstash.conf" | |
links: | |
- elasticsearch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment