forked from zacharydhamilton/realtime-log-aggregation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
57 lines (56 loc) · 1.41 KB
/
docker-compose.yaml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
version: '2'
services:
logger:
hostname: logger
container_name: logger
image: zachhamilton/rt-log-aggregation-logger
depends_on:
- fluentbit
logging:
driver: fluentd
options:
fluentd-address: 127.0.0.1:24224
fluentbit:
hostname: fluentbit
container_name: fluentbit
image: fluent/fluent-bit:2.0.8-debug
environment:
BOOTSTRAP_SERVER: $BOOTSTRAP_SERVER
KAFKA_CLUSTER_KEY: $KAFKA_CLUSTER_KEY
KAFKA_CLUSTER_SECRET: $KAFKA_CLUSTER_SECRET
volumes:
- ./fluentbit/:/fluent-bit/etc/
ports:
- 24224:24224
- 24224:24224/udp
elasticsearch:
hostname: elasticsearch
container_name: elasticsearch
image: elasticsearch:7.10.1
environment:
discovery.type: single-node
cluster.name: es-cluster
node.name: es-node
discovery.seed_hosts: es-node
ports:
- 9200:9200/tcp
- 9300:9300/tcp
kibana:
hostname: kibana
container_name: kibana
image: kibana:7.10.1
environment:
ELASTICSEARCH_HOSTS: http://elasticsearch:9200
ports:
- 80:5601/tcp
filebeat:
hostname: filebeat
container_name: filebeat
image: elastic/filebeat:7.10.1
volumes:
- ./filebeat/filebeat.yaml:/usr/share/filebeat/filebeat.yml
environment:
BOOTSTRAP_SERVER: $BOOTSTRAP_SERVER
KAFKA_CLUSTER_KEY: $KAFKA_CLUSTER_KEY
KAFKA_CLUSTER_SECRET: $KAFKA_CLUSTER_SECRET