Skip to content

zivaja/node-red-docker

Repository files navigation

node-red-docker

A wrapper Node-RED to Docker/Kubernates image. Base on Node Red Heroku from Atsushi Kojo

Deploying Node-RED into Heroku

Deploy

Environment that're required

  • NODE_RED_USERNAME {string} - the username to secure the editor
  • NODE_RED_PASSWORD {string} - the password to secure the editor
  • MONGODB_URI {string} - mogodb uri for store flow
  • APPNAME {string} - mongodb collection which contain flow
  • LAUNCHMODE {string: "dev","prod"} - just for on/off env print out while running
  • NODE_MAX_SIZE {number: 384 - 8192} - memory for running node in MB ( --max-old-space-size)

Example for Docker

docker run --name $CONTAINER_NAME \
-p 1880:1880 \
-e "NODE_RED_USERNAME="$NODE_RED_USERNAME \
-e "NODE_RED_PASSWORD="$NODE_RED_PASSWORD \
-e "MONGODB_URI="$MONGODB_URI \
-e "APPNAME="$APPNAME \
-e "LAUNCHMODE="$LAUNCHMODE \
-e "NODE_MAX_SIZE="$NODE_MAX_SIZE \
node-red-docker:1.0.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published