You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.3 KiB
38 lines
1.3 KiB
1 week ago
|
---
|
||
|
version: "3.2"
|
||
|
services:
|
||
|
homeassistant:
|
||
|
image: ghcr.io/home-assistant/home-assistant:stable
|
||
|
container_name: homeassistant
|
||
|
environment:
|
||
|
- PUID=1000
|
||
|
- PGID=1000
|
||
|
- TZ=Europe/Berlin
|
||
|
volumes:
|
||
|
- /etc/localtime:/etc/localtime:ro
|
||
|
- /opt/homeassistant:/config
|
||
|
ports:
|
||
|
- 8123:8123 #optional
|
||
|
restart: unless-stopped
|
||
|
zwavejs2mqtt:
|
||
|
container_name: zwavejs2mqtt
|
||
|
image: zwavejs/zwavejs2mqtt:latest
|
||
|
restart: unless-stopped
|
||
|
tty: true
|
||
|
stop_signal: SIGINT
|
||
|
environment:
|
||
|
- SESSION_SECRET=geheimes_secret
|
||
|
- ZWAVEJS_EXTERNAL_CONFIG=/usr/src/app/store/.config-db
|
||
|
# Uncomment if you want log times and dates to match your timezone instead of UTC
|
||
|
# Available at https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
||
|
#- TZ=America/New_York
|
||
|
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-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_d4e1c425a584ed11b7dad19f9d1cc348-if00-port0:/dev/zwave'
|
||
|
volumes:
|
||
|
- /opt/z-wave-js/:/usr/src/app/store
|
||
|
ports:
|
||
|
- "8091:8091" # port for web interface
|
||
|
- "3000:3000" # port for Z-Wave JS websocket server
|