Node-RED Docker

Node-RED Docker#

Low-code programming for event-driven applications

Docker Compose#

nodered.yml

http://localhost:1880/

Security#

vi nodered_data/settings.js

adminAuth: {
    type: "credentials",
    users: [{
        username: "admin",
        password: "$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN.",
        permissions: "*"
    }]
}

User: admin / password

生成密码加密字串 node -e "console.log(require('bcryptjs').hashSync(process.argv[1], 8));" your-password-here

Screenshots#

https://raw.githubusercontent.com/enebular/node-red-contrib-admin/master/install.png

https://raw.githubusercontent.com/enebular/node-red-contrib-admin/master/enable.png

https://raw.githubusercontent.com/virtualarchitectures/node-red-contrib-proj4/master/images/Example_Flow.PNG

References#