commit cd2d788d87a6e0c8079047ca4f30132f55c4a750 Author: stephane.david Date: Sun Jun 21 10:23:23 2026 +0200 First version diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..36c5273 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,31 @@ +services: + zwave-js-ui: + container_name: zwave-js-ui + image: zwavejs/zwave-js-ui:latest + restart: always + tty: true + stop_signal: SIGINT + environment: + - SESSION_SECRET=mysupersecretkey + # 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=Europe/Paris + networks: + - zwave + 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 + # Or by using local folder + # - ./store:/usr/src/app/store + ports: + - '8091:8091' # port for web interface + - '3000:3000' # port for Z-Wave JS websocket server +networks: + zwave: + +volumes: + zwave-config: + name: zwave-config \ No newline at end of file