-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
61 lines (57 loc) · 1.75 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
docker-compose.yml
version: '3'
services:
homeassistant:
container_name: home-assistant
image: homeassistant/home-assistant:latest
devices:
- /dev/ttyUSB1:/dev/ttyUSB1
volumes:
- ${HOME_ASSISTANT_CONFIG}:/config
environment:
- TZ=${TIMEZONE}
restart: unless-stopped
network_mode: host
zwavejs2mqtt:
container_name: zwavejs2mqtt
image: zwavejs/zwavejs2mqtt:latest
restart: always
tty: true
stop_signal: SIGINT
environment:
- SESSION_SECRET=${ZWAVE_SESSION_SECRET}
- ZWAVEJS_EXTERNAL_CONFIG=/usr/src/app/store/.config-db
# Uncomment if you want logs time and dates to match your timezone instead of UTC
# Available at https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
- TZ=${TIMEZONE}
devices:
# Do not use /dev/ttyUSBX serial devices, as those mappings can change over time.
# Instead, use the /dev/serial/by-id/X serial device for your Z-Wave stick.
- '/dev/serial/by-id/usb-0658_0200-if00:/dev/zwave'
volumes:
- zwave-config:/usr/src/app/store
ports:
- '8091:8091' # port for web interface
- '3000:3000' # port for Z-Wave JS websocket server
mosquitto:
container_name: mosquitto
image: eclipse-mosquitto:latest
restart: always
network_mode: host
user: "${MOSQUITTO_PUID}:${MOSQUITTO_GUID}"
volumes:
- ${MOSQUITTO_CONF_PATH}:/mosquitto/config/:rw
- ${MOSQUITTO_DATA_PATH}:/mosquitto/data/:rw
- ${MOSQUITTO_LOG_PATH}:/mosquitto/log/:rw
node-red:
image: nodered/node-red:latest
restart: unless-stopped
environment:
- TZ=${TIMEZONE}
ports:
- '1880:1880'
volumes:
- ${NODE_RED_DATA_PATH}:/data
volumes:
zwave-config:
name: zwave-config