This container is based on debian stretch-slim, latest domoticz commit, latest openzwave commit and I add the broadlink python lib for my new MP1 wifi power switch (should work also with others broadlink devices). This container is size optimized
You can refer to the automatic build at docker hub too.
TIMEZONE : set your timezone to be right on time !
ex : docker run -e "TIMEZONE"="Europe/Paris" steevebrush/strech-domoticz
/config : database, config and log files will be stored here. You can use it to store your scripts also
ex : docker run -v /my_config_dir:/config steevebrush/strech-domoticz
9080 : domoticz interface and API
ex : docker run -p my_local_port:9080 steevebrush/strech-domoticz
docker run -p 9080:9080 steevebrush/strech-domoticz (config directory will be erased at each start)
docker run -p 9080:9080 -v /my_config_dir:/config steevebrush/strech-domoticz (config directory will be saved)
If you map the /config volume, your config, database, log and everything else will be keeped beetwen restarts and updates. If you want to attach an usb device, like an openZwave stick, add --device=/dev/your_device
Everything is setup : incoming port, timezone, data directory and usb device
docker run -p 9080:9080 -e "TIMEZONE"="Europe/Paris" -v /config:/config --device=/dev/ttyUSB0 steevebrush/strech-domoticz
open domoticz webUI : http://localhost:9080 or your http://your_docker-server_IP:9080