31 lines
976 B
YAML
31 lines
976 B
YAML
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:
|
|
- /var/lib/docker/volumes/zwave-config/store:/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:
|
|
driver: bridge
|
|
|