argos/ELK.Docker/docker-compose.yml

44 lines
983 B
YAML
Raw Permalink Normal View History

version: '2.4'
2018-06-27 12:29:21 +02:00
services:
elasticsearch:
image: ${DOCKER_REGISTRY}elasticsearch
2018-06-27 12:29:21 +02:00
container_name: elasticsearch
build:
context: elasticsearch/
args:
ELK_VERSION: $ELK_VERSION
healthcheck:
# test: curl --cacert /usr/share/elasticsearch/config/certificates/ca/ca.crt -s https://localhost:9200 >/dev/null; if [[ $$? == 52 ]]; then echo 0; else echo 1; fi
interval: 30s
timeout: 10s
retries: 5
2018-06-27 12:29:21 +02:00
logstash:
image: ${DOCKER_REGISTRY}logstash
2018-06-27 12:29:21 +02:00
container_name: logstash
build:
context: logstash/
args:
ELK_VERSION: $ELK_VERSION
depends_on:
- elasticsearch
2018-06-27 12:29:21 +02:00
kibana:
image: ${DOCKER_REGISTRY}kibana
build:
context: kibana/
args:
ELK_VERSION: $ELK_VERSION
depends_on:
- elasticsearch
2018-06-27 12:29:21 +02:00
filebeat:
image: ${DOCKER_REGISTRY}filebeat
build:
context: filebeat/
args:
ELK_VERSION: $ELK_VERSION
depends_on:
- logstash
2018-07-11 15:47:36 +02:00