-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
38 lines (34 loc) · 910 Bytes
/
docker-compose.yml
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
32
33
34
35
36
37
38
version: '3'
services:
exporter:
image: samber/clevercloud-logs-to-elk:0.10.1
build: .
environment:
- CLEVERCLOUD_TOKEN=xxxxxxxxxxxxxxx
- CLEVERCLOUD_SECRET=xxxxxxxxxxxxxxx
- CLEVERCLOUD_APP=app_xxxxxxx-xxxxxxx-xxxxxxx
- LOGSTASH_HOST=logstash
- LOGSTASH_PORT=5000
depends_on:
- logstash
restart: unless-stopped
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.2.2
ports:
- "9200:9200"
logstash:
image: docker.elastic.co/logstash/logstash-oss:6.2.2
volumes:
- ./logstash/config:/usr/share/logstash/config
- ./logstash/pipeline:/usr/share/logstash/pipeline
depends_on:
- elasticsearch
ports:
- "5000:5000"
kibana:
image: docker.elastic.co/kibana/kibana-oss:6.2.2
ports:
- "5601:5601"
depends_on:
- elasticsearch
restart: unless-stopped