Skip to content

Instantly share code, notes, and snippets.

@jonstacks
Created November 4, 2015 05:27
Show Gist options
  • Save jonstacks/3c2da95b4181349efdd6 to your computer and use it in GitHub Desktop.
Save jonstacks/3c2da95b4181349efdd6 to your computer and use it in GitHub Desktop.
Docker Compose file for Elasticsearch and Kibana
# Template for the Elasticsearch and Kibana portion of an ELK stack
elasticsearch:
image: elasticsearch
# Have to overwrite command because elasticsearch:2 binds to 127.0.0.1 by default
command: ["elasticsearch", "-Des.network.host=0.0.0.0"]
ports:
- "9200:9200"
kibana:
image: kibana
links:
- elasticsearch
ports:
- "5601:5601"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment