Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.19 KB

README.md

File metadata and controls

28 lines (18 loc) · 1.19 KB

Node-RED docker

This is a docker image building setup, to be used for Node-RED wireless experimentation along with Node-RED modules and flow files (explained in a separate repository).

First, build a docker image using the Dockerfile (i.e. Dockerfile_Node-RED) provided.

docker build -t node-red -f Dockerfile_Node-RED .

Creating the image takes some time and after it is done, you can login to execute multiple demonstrators.

Issue the follow command to start a new docker container, with guest port 1880 forwarded to host port 1880. node-RED by default uses port 1880.

docker run -it -p 1880:1880 --name node-red --hostname=node-red node-red

Afterwards, start a demonstrator flow and give it some time, specially when executed the first time.

node-red /root/.node-red/flows_sensys2017.json

Later on, navigate to localhost:1880 to have a look at the node-red flow. For the example above, it will open the wireless sensor network demonstrator that was used in sensys 2017 demo/poster session.

Contact

[email protected]