diff --git a/images/node-red.png b/images/node-red.png new file mode 100644 index 0000000..898c242 Binary files /dev/null and b/images/node-red.png differ diff --git a/stack/node-red.yml b/stack/node-red.yml index 257f81d..8815dcf 100644 --- a/stack/node-red.yml +++ b/stack/node-red.yml @@ -4,18 +4,14 @@ services: image: nodered/node-red:latest container_name: node-red environment: - NODE_RED_CREDENTIAL_SECRET: ${NODE_RED_CREDENTIAL_SECRET} - TZ: ${TZ} + NODE_RED_CREDENTIAL_SECRET: ${NODE_RED_CREDENTIAL_SECRET} + TZ: ${TZ} volumes: - - node-red-data:/data + - data:/data ports: - 1880:1880 - networks: - iot: restart: unless-stopped volumes: - node-red-data: + data: -networks: - iot: \ No newline at end of file diff --git a/template/portainer-v2-arm32.json b/template/portainer-v2-arm32.json index a027247..698b946 100644 --- a/template/portainer-v2-arm32.json +++ b/template/portainer-v2-arm32.json @@ -2823,7 +2823,39 @@ "url": "https://github.com/novaspirit/pi-hosted" } }, - + { + "categories": [ + "Other", + "Web", + "Tools" + ], + "description": "Node-RED is a programming tool for wiring together hardware devices, APIs and online services in new and interesting ways. It provides a browser-based editor that makes it easy to wire together flows using the wide range of nodes in the palette that can be deployed to its runtime in a single-click.", + "env": [ + { + "default": "your_secret_goes_here", + "label": "NODE_RED_CREDENTIAL_SECRET", + "name": "NODE_RED_CREDENTIAL_SECRET" + }, + { + "default": "America/New_York", + "label": "TZ", + "name": "TZ" + } + ], + "logo": "https://raw.githubusercontent.com/rmiddle/pi-hosted/master/images/node-red.png", + "name": "node-red", + "platform": "linux", + "ports": [ + "1880:1880/tcp" + ], + "restart_policy": "unless-stopped", + "title": "Node Red", + "type": 3, + "repository": { + "stackfile": "stack/node-red.yml", + "url": "https://github.com/rmiddle/pi-hosted/" + } + }, { "categories": [ "Downloaders"