-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
56 lines (52 loc) · 1.51 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
version: "3.9"
services:
influxdb:
image: "influxdb:2.4"
ports:
- "8086:8086"
user: "${UGID}"
volumes:
- "./volumes/influxdb/config/config.yml:/etc/influxdb2/config.yml"
- "./volumes/influxdb/data:/var/lib/influxdb2"
- "./volumes/backup:/srv/backup"
mosquitto:
image: "eclipse-mosquitto:2.0.10"
ports:
- "1883:1883"
volumes:
- "./volumes/mosquitto/config:/mosquitto/config"
- "./volumes/mosquitto/data:/mosquitto/data"
- "./volumes/mosquitto/log:/mosquitto/log"
telegraf:
image: "telegraf:1.23"
env_file:
- telegraf-vars.env
depends_on:
- influxdb
- mosquitto
ports:
- "8094:8094"
volumes:
- "./volumes/telegraf/config/telegraf.conf:/etc/telegraf/telegraf.conf"
grafana:
image: "grafana/grafana:8.5.13"
environment:
GF_SECURITY_ADMIN_PASSWORD__FILE: /run/secrets/admin_password
GF_RENDERING_SERVER_URL: http://grafana_renderer:8081/render
GF_RENDERING_CALLBACK_URL: http://grafana:3000/
depends_on:
- influxdb
ports:
- "3000:3000"
user: "${UGID}"
volumes:
- "./volumes/grafana/admin_password:/run/secrets/admin_password"
- "./volumes/grafana/grafana.ini:/etc/grafana/grafana.ini"
- "./volumes/grafana/provisioning:/etc/grafana/provisioning"
- "./volumes/grafana/data:/var/lib/grafana"
grafana_renderer:
image: "grafana/grafana-image-renderer:3.6.1"
ports:
- "8081"
environment:
ENABLE_METRICS: 'true'