Skip to content

Instantly share code, notes, and snippets.

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