upgraded elasticsearch, logstash and kibana images and provided an environment variable to specify a version for the entire ELK stack.

This commit is contained in:
Nathanael
2020-01-22 15:37:04 -03:00
parent cd84c464b3
commit 5aafed586b
5 changed files with 21 additions and 6 deletions

View File

@ -770,7 +770,10 @@ services:
### ElasticSearch ########################################
elasticsearch:
build: ./elasticsearch
build:
context: ./elasticsearch
args:
- ELK_VERSION=${ELK_VERSION}
volumes:
- elasticsearch:/usr/share/elasticsearch/data
environment:
@ -794,7 +797,10 @@ services:
### Logstash ##############################################
logstash:
build: ./logstash
build:
context: ./logstash
args:
- ELK_VERSION=${ELK_VERSION}
volumes:
- './logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml'
- './logstash/pipeline:/usr/share/logstash/pipeline'
@ -812,7 +818,10 @@ services:
### Kibana ##############################################
kibana:
build: ./kibana
build:
context: ./kibana
args:
- ELK_VERSION=${ELK_VERSION}
ports:
- "${KIBANA_HTTP_PORT}:5601"
depends_on: