mak-gitdev / HA_enoceanmqtt

Home Assistant wrapper for enocean-mqtt (https://github.com/embyt/enocean-mqtt)
GNU General Public License v3.0
57 stars 18 forks source link

include default configfile (enoceanmqtt.conf) #157

Open madejackson opened 1 month ago

madejackson commented 1 month ago

This includes the default config-file so the docker is able to start when there is no config done yet.

This way you can run sudo docker exec -it ha_enoceanmqtt_dev vi /config/enoceanmqtt.conf to edit your configuration.

Without this PR, you MUST use a bind mount and import the configfile beforehand. In systems like cosmos-server, the preffered way is to NOT use bind mount but named volumes instead, hence an existing configfile is much easier.