ZwavejsUI , where are the files on the host ?
Posted: Monday 02 January 2023 20:11
I would like to automatically backup my zwave-js-UI "store" files but I can only access them from inside the container/webUI.
With Zigbee2mqtt my files are all available in /home/pi/zigbee2mqtt alongside my docker-compose file in a directory called "data" and I am easily able to back these files up.
With zwave-js-UI no such folder is created as far as I know.
This is my docker compose file, nothing is created in /usr/src either.
Is there something I should do to enable access to these files in the host or am I not looking in the right place ?
With Zigbee2mqtt my files are all available in /home/pi/zigbee2mqtt alongside my docker-compose file in a directory called "data" and I am easily able to back these files up.
With zwave-js-UI no such folder is created as far as I know.
This is my docker compose file, nothing is created in /usr/src either.
Is there something I should do to enable access to these files in the host or am I not looking in the right place ?
Code: Select all
version: '3.7'
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
- 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=Europe/Lisbon
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/serial/by-id/insert_stick_reference_here:/dev/zwave'
volumes:
- zwave-config:/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