First version
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user