-
-
Save Harinath120/bc9a25499737eb40417aca9edaf505ba to your computer and use it in GitHub Desktop.
ELK stack (version 6.4.1) Docker compose bundle
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
version: "2" | |
services: | |
elasticsearch: | |
image: elasticsearch:6.4.2 | |
container_name: elasticsearch | |
ports: | |
- 9200:9200 | |
- 9300:9300 | |
volumes: | |
- ./esdata/:/usr/share/elasticsearch/data | |
logstash: | |
image: logstash:5.6.12-alpine | |
container_name: logstash | |
volumes: | |
- ./logstash.conf:/config-dir/logstash.conf:ro | |
- ./data/:/opt/data/:ro | |
links: | |
- elasticsearch | |
entrypoint: logstash -f /config-dir/logstash.conf | |
kibana: | |
image: kibana:6.4.2 | |
container_name: kibana | |
ports: | |
- 5601:5601 | |
links: | |
- elasticsearch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment