Last updated on February 7th, 2023 at 02:04 pm
Node-RED is a free, open-source visual programming tool for the Internet of Things (IoT) and other connected devices. It allows developers to wire together hardware devices, APIs, and online services to create complex, scalable, and functional IoT applications without having to write any code.
Node-RED uses a visual flow-based programming model, where developers connect nodes on a canvas to define how data flows from one node to another. Nodes can represent inputs, outputs, functions, or processing operations, and can be used to perform tasks such as reading sensor data, sending data to a cloud service, or triggering an action based on a specific condition.
Node-RED is highly modular, with a large library of nodes available for various use cases, including data processing, cloud integration, messaging, and more. This makes it easy for developers to get started with Node-RED, as well as to extend its functionality as needed.
Node-RED is well-suited for a variety of use cases, including home automation, prototyping, and rapid application development. Its visual interface and low-code approach make it accessible to non-developers as well, allowing them to quickly create and deploy IoT applications. I personally use Node-RED to handle my Home Assistant automations.
Code Source: GitHub
Skip to Docker Run Code / Skip to Compose & Portainer Code


Install Docker
Before we start, please ensure you have Docker installed. This can be installed through the Synology Package Center.
Create the Docker Folder
We now need to create the Node-RED Docker folder. Head into File Station and open the Docker folder. Select Create, choose Create folder and name it nodered. (see demonstration)
Create the Scheduled Task
We will now head into Control Panel > Task Scheduler > Create > Scheduled Task and click User-defined script. (see demonstration)

Configure the Scheduled Task
In the window that appears, insert the following:
In the General tab, In the Task field, enter NodeRed. From the User list, select root. Uncheck the Enabled option.
In the Schedule tab, Select Run on the following date (make sure It’s today’s date). Now select Do not repeat.
In the Task Settings tab, under Notification, You can choose to turn this on, otherwise skip this. Now copy-paste the following code into the Run command area. Now click OK.
docker run -d --name nodered \
-p 6333:1880 \
-v /volume1/docker/nodered:/data \
--restart always \
nodered/node-red
chown -R 1000:1000 /volume1/docker/nodered
Accept the warning prompt
When the below warning appears, press OK.

Run the Scheduled Task
You will now see your list of tasks. Select NodeRed, now press Run. When asked to run, press Yes.
Your app is now Installed
The installation process has now finished. Give it a few seconds to appear in your Docker list.

Open your browser and enter the link to your new container http://synologyip:6333.
Docker Compose and Portainer
If you would prefer to install with Docker Compose or Portainer, use the following code. You can also view a demonstration here.
version: '3.3'
services:
volume1:
container_name: nodered
ports:
- '6333:1880'
volumes:
- '/volume1/docker/nodered:/data'
restart: always
image: nodered/node-red
More Guides:
Actual AdGuard airsonic Audiobookshelf autobrr Bitcoin Calibre-Web ChatpadAI Cleanarr Composerize Crypto DailyTxT Dashy deemix Deluge Emby EmulatorJS Ethereum Euterpe FileBot FilePizza FileZilla Flame Focalboard FreshRSS Grafana Grocy Heimdall Homarr Home Assistant Homebridge Jackett Jellyfin Jellyseerr Joplin Kavita Komga LanguageTool LibreOffice Lidarr Mealie MediaGoblin Medusa Memegen Minecraft Minecraft Bedrock MQTT MusicBrainz MyMediaForAlexa Navidrome Node-RED NZBGet NZBHydra Ombi Overseerr PaperlessNGX Pashword Password Cards Petio Pi-Hole Picard Plex Portainer PostgreSQL Prowlarr PUID & PGID pwndrop Radarr Radicale Readarr ruTorrent SABnzbd SearX Seed Phrase Shiori Sonarr SpeedTest Stash Storm Tailscale TasmoAdmin Tautulli Theia Trilium TubeSync Unpackerr Uptime Kuma Vaultwarden Watchtower WebPDF Whisparr Wordle YouTubeDL
