Node-RED Container
An opinionated containerized version of Node-RED.
Installation Notes
Create your Node-RED configuration files locally and start the container:
$ docker run --name node-red \
--network host \
-v ${PWD}/config:/data \
ghcr.io/muhlba91/node-red:<TAG>
Container Tags
The container images are tagged according to:
- the Node-RED version and current release (
ghcr.io/muhlba91/node-red:<RELEASE_TAG>
) - the Git Commit SHA (
ghcr.io/muhlba91/node-red:<GIT_COMMIT_SHA>
)
Helm Chart
The app-template by bjw-s is the recommended chart to use this container with.
For example, to mount a packages.txt
file from a ConfigMap you can add the folloiwng block to your values.yaml
file:
persistence:
packages:
enabled: true
type: configMap
name: node-red-packages-config
globalMounts:
- path: /init
Configuration
Mount your Node-RED configuration files in /data
when running the container.
Alternatively, you can mount a settings.js
file in /init/settings.js
which will be copied the /data
upon starting up.
If you want to install additional packages on start-up, create a file packages.txt
and mount it in /init/packages.txt
:
package@version
Contributing
We welcome community contributions to this project.
Supporting
If you enjoy the application and want to support my efforts, please feel free to buy me a coffe. :)