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?
do i need to store scripts in the script folder ?
Moderator: leecollings
- deejc
- Posts: 168
- Joined: Tuesday 22 September 2015 18:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5641
- Location: UK
- Contact:
do i need to store scripts in the script folder ?
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
-
dannybloe
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: do i need to store scripts in the script folder ?
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:
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
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
- deejc
- Posts: 168
- Joined: Tuesday 22 September 2015 18:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5641
- Location: UK
- Contact:
Re: do i need to store scripts in the script folder ?
I'll try it, thanks
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
Who is online
Users browsing this forum: No registered users and 1 guest