-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
97 lines (97 loc) · 2.36 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
version: "3.7"
services:
noip:
restart: always
container_name: noip
image: hypriot/rpi-noip
volumes:
- ./data/noip:/usr/local/etc/
node-red:
restart: always
container_name: node-red
image: nrchkb/node-red-homekit
environment:
- TZ=Europe/Moscow
network_mode: host
volumes:
- ./data/node-red:/data
mosquitto:
container_name: mosquitto
image: eclipse-mosquitto:1.6.13
restart: always
ports:
- 1883:1883
zigbee2mqtt:
container_name: zigbee2mqtt
image: koenkk/zigbee2mqtt
volumes:
- ./data/zigbee2mqtt:/app/data
devices:
- /dev/ttyACM0:/dev/ttyACM0
- /dev/ttyUSB0:/dev/ttyUSB0
restart: always
network_mode: host
privileged: true
environment:
- TZ=Europe/Moscow
depends_on:
- mosquitto
influxdb:
restart: always
container_name: influxdb
image: influxdb:1.8.10
ports:
- 8086:8086
volumes:
- ./data/influxdb:/var/lib/influxdb
environment:
- INFLUXDB_DB=home42
- INFLUXDB_ADMIN_USER=${INFLUXDB_USERNAME}
- INFLUXDB_ADMIN_PASSWORD=${INFLUXDB_PASSWORD}
telegraf:
image: telegraf:latest
container_name: telegraf
network_mode: host
depends_on:
- influxdb
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /:/hostfs:ro
- /etc:/hostfs/etc:ro
- /proc:/hostfs/proc:ro
- /sys:/hostfs/sys:ro
- /var/run/utmp:/var/run/utmp:ro
- ./data/telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro
chronograf:
restart: always
container_name: chronograf
image: chronograf:latest
ports:
- 8888:8888
volumes:
- ./data/chronograf:/var/lib/chronograf
depends_on:
- influxdb
environment:
- INFLUXDB_URL=http://influxdb:8086
- INFLUXDB_USERNAME=${INFLUXDB_USERNAME}
- INFLUXDB_PASSWORD=${INFLUXDB_PASSWORD}
grafana:
restart: always
container_name: grafana
image: grafana/grafana:latest
ports:
- 3000:3000
volumes:
- ./data/grafana/storage:/var/lib/grafana
- ./data/grafana/provisioning/:/etc/grafana/provisioning
environment:
- GF_PANELS_DISABLE_SANITIZE_HTML=true
depends_on:
- influxdb
home42_tg_bot:
container_name: home42_tg_bot
restart: always
image: borodin/home42_tg_bot:latest
environment:
- TG_TOKEN=${TG_TOKEN}