zwave-js / zwave-js-ui

Full featured Z-Wave Control Panel UI and MQTT gateway. Built using Nodejs, and Vue/Vuetify
https://zwave-js.github.io/zwave-js-ui
MIT License
920 stars 196 forks source link

MQTT gateway port not exposed in dockerfile #3741

Closed Chrismarsh closed 1 month ago

Chrismarsh commented 1 month ago

Checklist

Deploy method

Docker

Z-Wave JS UI version

zwave-js-ui: 9.13.2.632ca88

ZwaveJS version

zwave-js: 12.9.1

Describe the bug

The Dockerfile and docker-compose do not EXPOSE the port needed for the MQTT gateway: https://github.com/zwave-js/zwave-js-ui/blob/master/docker/Dockerfile#L77 https://github.com/zwave-js/zwave-js-ui/blob/master/docker/docker-compose.yml#L24

MQTT Error: Error: connect ECONNREFUSED 192.168.1.154:1883

To Reproduce

Run Docker image from https://hub.docker.com/r/zwavejs/zwave-js-ui

Expected behavior

MQTT gateway is accessible

Additional context

No response

kpine commented 1 month ago

Z-Wave JS UI is a client to an MQTT broker you run yourself. There's nothing to expose.

Mosquitto is an example of a broker you can run in a separate docker container and configure ZUI to connect to.

Chrismarsh commented 4 weeks ago

AHHH.......that was not clear to me, sorry. Thanks for the clarification.