Created
March 22, 2016 15:26
-
-
Save divideby0/882d19880d6510d5529a to your computer and use it in GitHub Desktop.
ELK Docker Compose Boilerplate
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
# Boilerplate ELK setup in Docker Compose | |
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