Node-RED v0.19.5 with Node.js v10.15.1 and pm2
446
Based on official node-red-docker image but modified slightly to run Node-RED with pm2 to enable restart of Node-RED within the container.
nodered | ===================
nodered | 18 Jun 09:07:16 - [info] Node-RED version: v0.20.5
nodered | 18 Jun 09:07:16 - [info] Node.js version: v10.16.0
# Create container
docker run -d -p 1880:1880 -v /{path to local folder}:/data --name nodered nidayand/node-red-pm2:latest
# You can go to http://localhost:1880 to open the Node-RED UI
# Enter the container
docker exec -it nodered bash
# Go to the data dir
cd /data
# Install 3rd party nodes. E.g.
npm install node-red-contrib-norelite
# Restart Node-RED
pm2 restart node-red
version: '3.0'
services:
nodered:
container_name: "nodered"
image: nidayand/node-red-pm2
volumes:
- "./data:/data"
ports:
- "1880:1880"
docker exec --user 0 -it nodered /bin/bash
Content type
Image
Digest
Size
373.4 MB
Last updated
over 6 years ago
docker pull nidayand/node-red-pm2