Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.16k stars 1.68k forks source link

Possible to change broker IP when running docker cotainer? #1371

Closed seaside1 closed 5 years ago

seaside1 commented 5 years ago

Fist off, awesome work in this project!

For the docker image, it would be handy to have a way of specifying mqtt topic and broker ip when running the docker image. I know this can be changed in configuration.yaml, but for us that are not using HASS this would be handy and building the docker image from the source is somewhat cumbersome.

j4c3 commented 5 years ago

I keep that file out of the docker image using the following in my docker command. Then you can just modify the configuration.yaml and restart the container:

-v /share/CACHEDEV1_DATA/Store/HomeAutomation/zigbee2mqtt/data:/app/data

seaside1 commented 5 years ago

That works! Thanks!