-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathdocker-compose.elk.yml
More file actions
32 lines (28 loc) · 852 Bytes
/
docker-compose.elk.yml
File metadata and controls
32 lines (28 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: "3"
services:
#######################################
# Elasticsearch: The log database
#######################################
elasticsearch:
image: "docker.elastic.co/elasticsearch/elasticsearch:5.5.0"
restart: always
env_file: config/elasticsearch.env
#######################################
# Logstash: The log ETL
#######################################
logstash:
build: ./dockerfiles/logstash
image: "ncarlier/logstash-elk:latest"
restart: always
env_file: config/logstash.env
#######################################
# Kibana: The log dashboard
#######################################
kibana:
image: "docker.elastic.co/kibana/kibana:5.5.0"
restart: always
env_file: config/kibana.env
depends_on:
- elasticsearch
ports:
- "${KIBANA_PORT:-5601}:5601"