Created
November 26, 2022 02:23
-
-
Save unixorn/0f4863436e7d0c806bd182ed6edec1e9 to your computer and use it in GitHub Desktop.
zigbee2mqtt & zwavejs2mqtt docker-compose.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.3' | |
services: | |
zigbee2mqtt: | |
container_name: zigbee2mqtt | |
restart: unless-stopped | |
#image: koenkk/zigbee2mqtt:1.25.2 | |
image: koenkk/zigbee2mqtt:latest | |
volumes: | |
- /data/zigbee2mqtt/data:/app/data | |
- /run/udev:/run/udev:ro | |
ports: | |
- 8080:8080 | |
environment: | |
- TZ=America/Denver | |
devices: | |
- /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2291963-if00:/dev/ttyACM0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
zwavejs2mqtt: | |
container_name: zwavejs2mqtt | |
image: zwavejs/zwavejs2mqtt:latest | |
restart: unless-stopped | |
tty: true | |
stop_signal: SIGINT | |
environment: | |
- SESSION_SECRET=secretkey | |
- 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=America/Denver | |
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/ttyUSB0:/dev/ttyUSB0 | |
#- /dev/ttyUSB0:/dev/zwave | |
#- /dev/ttyUSB1:/dev/ttyUSB1 | |
- /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_6120114E-if00-port0:/dev/ttyUSB0 | |
- /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_6120114E-if00-port1:/dev/ttyUSB1 | |
- /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_6120114E-if00-port0:/dev/zwave | |
volumes: | |
- /data/zwaveJS2mqtt/data:/usr/src/app/store | |
ports: | |
- '8091:8091' # port for web interface | |
- '3000:3000' # port for Z-Wave JS websocket server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment