Node-RED Docker#
Low-code programming for event-driven applications
Docker Compose#
nodered.yml
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