This is a docker container for Node-RED. It is based on the "official" Node-RED Docker Image but withe the Node-RED Dashboard and addon nodes, a dark theme, and some environment variables.
This image is available in DockerHub and the GitHub Container Registry:
marcelcoding/node-red:latest
ghcr.io/marcelcoding/node-red:latest
docker run \
-p 1880:1880 \
-e PASSWORD=SECURE_PASSWORD \
--restart always \
--mount "./node-red-data:/data"
marcelcoding/node-red:latest# docker-compose.yaml
version: '3.8'
services:
node-red-docker:
image: marcelcoding/node-red:latest
restart: always
environment:
# - 'USERNAME=admin' # <- Webinterface username (optional, default: "admin")
# - 'PASSWORD=SECURE_PASSWORD' # <- Webinterface password (optional, default: "admin")
ports:
- '1880:1880' # <- Http Web Interface
volumes:
- ./node-red-data:/data # <- Data Persistence