Our node-red Dockerfile with specific nodes
To launch the node-red docker, simply run this command in your terminal :
docker build -t igreenhouse-nodered:1.0 .
docker run -it -p 1880:1880 -e FLOWS=my_flows.json igreenhouse-nodered:1.0
N.B.: The -e FLOWS
option is optional, you can also set the FLOWS
as an env var.
The current flow is configured to work with /dev/tty.usbmodem1423
serial port (macOS).
You may have to change this parameter in the flows.json file, line 16, with the serial port you want to use:
{
...
"serialport": "/dev/tty.usbmodem1423",
...
}