Last active
April 1, 2016 05:50
-
-
Save RafPe/60c3d7ff1b383e34990a to your computer and use it in GitHub Desktop.
This is ELK stack docker-compose file allowing you to quickly get the system up and running. For this to work you need to modify the paths for config and data locations
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
elasticsearch-central: | |
image: elasticsearch:2 | |
container_name: elasticsearch-central | |
volumes: | |
- _replaceme_/elasticsearch/data:/usr/share/elasticsearch/data | |
- _replaceme_/elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml | |
environment: | |
- ES_CLUSTERNAME=_clustername_ | |
command: elasticsearch | |
ports: | |
- "9200:9200" | |
- "9300:9300" | |
kibana-frontend: | |
image: kibana:latest | |
container_name: kibana-frontend | |
ports: | |
- "5601:5601" | |
links: | |
- elasticsearch-central:elasticsearch | |
redis-cache: | |
image: redis:latest | |
container_name: redis-cache | |
ports: | |
- "6379:6379" | |
logstash-central: | |
image: logstash:latest | |
container_name: logstash-central | |
ports: | |
- "25826:25826" | |
- "25826:25826/udp" | |
volumes: | |
- _replaceme_/logstash/central:/conf | |
command: logstash -f /conf/central.conf | |
links: | |
- redis-cache:redis | |
- elasticsearch-central:db | |
logstash-agent: | |
image: logstash:latest | |
container_name: logstash-agent | |
ports: | |
- "25827:25827" | |
- "25827:25827/udp" | |
volumes: | |
- _replaceme_/logstash/agent:/conf | |
command: logstash -f /conf/agent.conf | |
links: | |
- redis-cache:redis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment