Created
November 23, 2016 03:48
-
-
Save davidqhr/aeedc33d2a99d5d04ec7b25620d45894 to your computer and use it in GitHub Desktop.
elk docker compose
This file contains 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
kibana: | |
container_name: elk-kibana | |
image: kibana:5 | |
ports: | |
- "5601:5601" | |
environment: | |
ELASTICSEARCH_URL: http://elasticsearch:9200 | |
links: | |
- elasticsearch | |
elasticsearch: | |
container_name: elk-es | |
image: elasticsearch:5 | |
ports: | |
- "192.168.1.40:9200:9200" | |
- "9300:9300" | |
volumes: | |
- /home/es5/data:/usr/share/elasticsearch/data | |
environment: | |
ES_JAVA_OPTS: "-Xms10g -Xmx10g" | |
logstash: | |
container_name: elk-logstash | |
image: logstash:5 | |
volumes: | |
- ./logstash.conf:/logstash.conf | |
ports: | |
- "192.168.1.40:9397-9400:9397-9400/udp" | |
links: | |
- elasticsearch | |
command: logstash -f /logstash.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment