Thank you for your help, now I used the following docker-compose.yaml. This means that the one that's in the WIKI is just wrong then?
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=America/New_York
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
ports:
- '8091:8091' # port for web interface
- '3000:3000' # port for Z-Wave JS websocket server
networks:
zwave:
volumes:
zwave-config:
name: zwave-config
Got a bit better result, how can i see what's actually wrong in this zwavejs-ui module, because it just says started, there's no log file except if you enable it through the UI which i cannot access?
root@Dave-Domo:/opt/zwavejs-ui# docker compose down
[+] Running 2/2
✔ Container zwave-js-ui Removed 0.0s
✔ Network zwavejs-ui_zwave Removed 0.4s
root@Dave-Domo:/opt/zwavejs-ui# docker compose up -d
[+] Running 0/1
[+] Running 1/2ejs-ui_zwave Creating 0.3s
⠏ Network zwavejs-ui_zwave Created 4.0s
✔ Container zwave-js-ui Started 3.7s
root@Dave-Domo:/opt/zwavejs-ui# wget
http://localhost:8091
--2024-03-03 09:40:37-- //localhost:8091/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:8091... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.
--2024-03-03 09:40:39-- (try: 2) //localhost:8091/
Connecting to localhost (localhost)|::1|:8091... failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:8091... failed: Connection refused.
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:8091... failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:8091... failed: Connection refused.
Also from the (external) browser, I'm getting a connection refused now, which is better than before...
http://192.168.178.22:8091
This site can’t be reached192.168.178.22 refused to connect.
Edit Waltervl, code brackets