-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
78 lines (71 loc) · 1.86 KB
/
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
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
version: '3'
volumes:
prometheus_data: {}
grafana_data: {}
services:
dump1090exporter:
container_name: dump1090exporter
image: flightawareadsb/dump1090exporter:2.0
ports:
- "9105:9105"
restart: always
stop_signal: SIGINT
command: [
"--resource-path=http://${HOST_IP:?IP_ADDRESS_UNSET_ERROR}:8080/data",
]
prometheus:
container_name: prometheus
image: prom/prometheus
depends_on:
- dump1090exporter
volumes:
- ./prometheus/:/etc/prometheus/
- prometheus_data:/prometheus
command: [
"--config.file=/etc/prometheus/prometheus.yml",
"--web.listen-address=:9090"
]
ports:
- 9090:9090
restart: always
grafana:
container_name: grafana
image: grafana/grafana:8.4.3-armv7
volumes:
- ./grafana/provisioning/:/etc/grafana/provisioning/
- ./grafana/dashboards/:/var/lib/grafana/dashboards/
- ./grafana/grafana.ini:/etc/grafana/grafana.ini
- grafana_data:/var/lib/grafana
depends_on:
- prometheus
ports:
- ${GRAFANA_PORT}:${GRAFANA_PORT}
restart: always
environment:
- GF_AUTH_ANONYMOUS_ENABLED=${DISABLE_LOGIN}
- GF_SECURITY_ADMIN_USER=${GRAFANA_USERNAME}
- GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_PASSWORD}
- GF_USERS_DEFAULT_THEME=${GRAFANA_THEME}
- GF_SERVER_GRAFANA_PORT=${GRAFANA_PORT}
node-exporter:
container_name: node_exporter
image: quay.io/prometheus/node-exporter:latest
command: [
"--path.rootfs=/host",
"--web.listen-address=:9100",
]
ports:
- 9100:9100
volumes:
- "/:/host:ro,rslave"
restart: always
piaware-exporter:
container_name: piaware_exporter
image: flightawareadsb/piaware_exporter:1.0
ports:
- 9101:9101
restart: always
command: [
"--piaware_host",
"${HOST_IP}"
]