forked from ct-Open-Source/ct-Smart-Home
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (39 loc) · 879 Bytes
/
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
version: '3.6'
services:
nodered:
image: ghcr.io/ct-open-source/ctnodered:latest
volumes:
- ./data/nodered:/data
- /etc/localtime:/etc/localtime
depends_on:
- mqtt
restart: always
network_mode: "host"
environment:
- TZ=Europe/Berlin
mqtt:
image: "eclipse-mosquitto"
ports:
- "1883:1883"
- "9001:9001"
volumes:
- ./data/mqtt:/mosquitto
- /etc/localtime:/etc/localtime
restart: always
environment:
- TZ=Europe/Berlin
zigbee:
image: koenkk/zigbee2mqtt
volumes:
- ./data/zigbee:/app/data
- /run/udev:/run/udev:ro
- /etc/localtime:/etc/localtime
devices:
- "/dev/ttyACM0:/dev/ttyACM0"
- "/dev/ttyACM1:/dev/ttyACM1"
restart: always
privileged: true
ports:
- 1881:1881
environment:
- TZ=Europe/Berlin