forked from crietzschel/ct-Smart-Home
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (39 loc) · 1003 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (39 loc) · 1003 Bytes
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:${CONTAINER_TAG:-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:
- "${MQTT_PORT:-1883}:1883"
- "${MQTT_WEBSOCKET_PORT:-9001}:9001"
- "${MQTT_SECURE_PORT:-8883}:8883"
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:
- "${ZIGBEE_DEVICE:-/dev/ttyACM0}:${ZIGBEE_DEVICE:-/dev/ttyACM0}"
restart: always
privileged: true
ports:
- "${ZIGBEE_FRONTEND_PORT:-1881}:1881"
environment:
- TZ=Europe/Berlin