Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 767 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 767 Bytes

iGreenhouse node-red-docker

Our node-red Dockerfile with specific nodes

Build it

To launch the node-red docker, simply run this command in your terminal :

docker build -t igreenhouse-nodered:1.0 .

Launch it

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.

Configuration

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",
  ...
}