Removed build for images. Added logstash configuration volume and default conf. file.
This commit is contained in:
parent
4a7e777809
commit
e9ca10d119
2 changed files with 16 additions and 3 deletions
8
fig.yml
8
fig.yml
|
@ -1,15 +1,17 @@
|
|||
elasticsearch:
|
||||
build: ./elasticsearch
|
||||
image: deviantony/elk-elasticsearch
|
||||
ports:
|
||||
- "9200:9200"
|
||||
logstash:
|
||||
build: ./logstash
|
||||
image: deviantony/elk-logstash
|
||||
volumes:
|
||||
- logstash-conf:/etc/logstash/conf.d
|
||||
ports:
|
||||
- "5000:5000"
|
||||
links:
|
||||
- elasticsearch
|
||||
kibana:
|
||||
build: ./kibana
|
||||
image: deviantony/elk-kibana
|
||||
ports:
|
||||
- "8080:80"
|
||||
links:
|
||||
|
|
11
logstash-conf/logstash.conf
Normal file
11
logstash-conf/logstash.conf
Normal file
|
@ -0,0 +1,11 @@
|
|||
input {
|
||||
tcp {
|
||||
port => 5000
|
||||
}
|
||||
}
|
||||
|
||||
# Add your filters here
|
||||
|
||||
output {
|
||||
elasticsearch { }
|
||||
}
|
Loading…
Reference in a new issue