Created
January 11, 2019 21:46
-
-
Save blackknight36/12e45a8822baa779b593026f34d31c62 to your computer and use it in GitHub Desktop.
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: | |
build: | |
context: elasticsearch/ | |
args: | |
ELK_VERSION: $ELK_VERSION | |
volumes: | |
- ./elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro | |
- elasticsearch_data:/usr/share/elasticsearch/data | |
ports: | |
- "9200:9200" | |
- "9300:9300" | |
environment: | |
ES_JAVA_OPTS: "-Xmx256m -Xms256m" | |
networks: | |
- elk | |
logstash: | |
build: | |
context: logstash/ | |
args: | |
ELK_VERSION: $ELK_VERSION | |
volumes: | |
- ./logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml:ro | |
- ./logstash/pipeline:/usr/share/logstash/pipeline:ro | |
ports: | |
- "5044:5044" | |
- "5045:5045" | |
- "9600:9600" | |
environment: | |
LS_JAVA_OPTS: "-Xmx256m -Xms256m" | |
networks: | |
- elk | |
depends_on: | |
- elasticsearch | |
kibana: | |
build: | |
context: kibana/ | |
args: | |
ELK_VERSION: $ELK_VERSION | |
volumes: | |
- ./kibana/config/:/usr/share/kibana/config:ro | |
ports: | |
- "5601:5601" | |
networks: | |
- elk | |
depends_on: | |
- elasticsearch | |
volumes: | |
elasticsearch_data: | |
networks: | |
elk: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment