Page 1 of 1

do i need to store scripts in the script folder ?

Posted: Sunday 03 July 2016 22:33
by deejc
i use domoticz in docker so i only have one folder mapped and its not the scripts folder, its a folder called config where the DB is stored, if create a scripts folder under the config folder and point the scripts like
script:///config/scripts/scripts.lua etc will it work correctly?

Re: do i need to store scripts in the script folder ?

Posted: Monday 04 July 2016 8:34
by dannybloe
You can easily add more folder mappings using Docker and have the script folder sit in the original location (domoticz/scripts/lua).
I used to do this:

Code: Select all

docker run -d -p 8080:8080 --restart=on-failure:10 --name=domoticz -v /volume1/docker/domoticz/data:/db -v /volume1/docker/domoticz/lua:/src/domoticz/scripts/lua -v /volume1/docker/domoticz/log:/log -v /etc/localtime:/etc/localtime:ro --device=/dev/ttyUSB0:/dev/ttyAMA0 domoticz

Re: do i need to store scripts in the script folder ?

Posted: Monday 04 July 2016 8:57
by deejc
I'll try it, thanks


Sent from my iPhone using Tapatalk