Skip to content

Instantly share code, notes, and snippets.

@wagonza
Created July 30, 2015 14:02
Show Gist options
  • Save wagonza/8aba9bb95ced56861c09 to your computer and use it in GitHub Desktop.
Save wagonza/8aba9bb95ced56861c09 to your computer and use it in GitHub Desktop.
docker-compose yml file for an ELK Stack
elasticsearch:
image: <yourESImage>
environment:
- "TZ=Africa/Johannesburg"
ports:
- x.x.x.x:9200:9200/tcp
- x.x.x.x:9300:9300/tcp
logstash:
image: <yourLogStashImage>
environment:
- "TZ=Africa/Johannesburg"
links:
- elasticsearch:elasticsearch
kibana:
image: docker.io/kibana:latest
environment:
- "TZ=Africa/Johannesburg"
ports:
- x.x.x.x:5601:5601/tcp
links:
- elasticsearch:elasticsearch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment