Skip to content

Run multiple instances of Node-Red in a single Docker container

Notifications You must be signed in to change notification settings

janakiramm/docker-node-red

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run Multiple Instances of Node-Red in a Single Docker Container

Node-Red on Docker

Node-Red is not designed for multiple users. By running it under Supervisor packaged as Docker container, we can run multiple instances of Node-Red.

Follow these steps to run three isolated instances of Node-Red

  • Clone this repo
git clone https://github.com/janakiramm/docker-node-red.git
  • Build the Docker image
docker build -t docker-node-red .
  • Launch the container from the same directory
docker run -d \
 -p 1880-1884:1880-1884 \
 -v $(PWD)/etc/supervisor:/etc/supervisor \
 -v $(PWD)/var/log/supervisor:/var/log/supervisor \
 -v $(PWD)/rules:/rules \
 docker-node-red
  • Check ports 1881, 1882, and 1883 on the host for Node-Red instances

About

Run multiple instances of Node-Red in a single Docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published