This repository has been archived by the owner on Feb 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
kafka-influxdb-grafana-compose.yml
80 lines (78 loc) · 1.81 KB
/
kafka-influxdb-grafana-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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
version: '3'
services:
context-catalog:
image: halverneus/static-file-server
hostname: context-catalog
container_name: context-catalog
ports:
- "8082:8080"
volumes:
- ./context-catalog:/web
kafka:
image: wurstmeister/kafka
hostname: kafka
container_name: kafka
ports:
- "9092:9092"
environment:
KAFKA_ADVERTISED_HOST_NAME: kafka
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ADVERTISED_PORT: 9092
KAFKA_LOG_DIRS: "/tmp/kafka-logs"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- zookeeper
grafana:
image: grafana/grafana:7.3.7
hostname: grafana
container_name: grafana
ports:
- "3000:3000"
environment:
GF_INSTALL_PLUGINS: grafana-clock-panel,briangann-gauge-panel,natel-plotly-panel,grafana-simple-json-datasource
user: "0"
volumes:
- ./data_grafana:/var/lib/grafana
influxdb:
image: influxdb:1.7
container_name: influxdb
volumes:
- ./data_influxdb:/.influxdb2
ports:
- "8086:8086"
nifi:
build:
context: ./nifi-python
dockerfile: Dockerfile
hostname: nifi
container_name: nifi
ports:
- "8080:8080"
volumes:
- ./results:/home/nifi/results
node-exporter:
image: prom/node-exporter
hostname: node-exporter
container_name: node-exporter
ports:
- "9100:9100"
depends_on:
- prometheus
prometheus:
image: prom/prometheus
hostname: prometheus
container_name: prometheus
ports:
- "9099:9090"
volumes:
- ./prometheus/config/prometheus.yml:/etc/prometheus/prometheus.yml
zookeeper:
image: zookeeper
hostname: zookeeper
container_name: zookeeper
ports:
- "2181"
logging:
driver: none
working_dir: /