SelfhostedPro / selfhosted_templates

Portainer templates for selfhosted services
GNU General Public License v3.0
1.24k stars 238 forks source link

[APP REQUEST]: Node-Red #223

Open anakaine opened 3 years ago

anakaine commented 3 years ago

Docker Compose script is here: https://nodered.org/docs/getting-started/docker

Dockerhub Link:

https://hub.docker.com/r/nodered/node-red

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.

Browser-based flow editing Node-RED provides a browser-based flow editor that makes it easy to wire together flows using the wide range of nodes in the palette. Flows can be then deployed to the runtime in a single-click.

JavaScript functions can be created within the editor using a rich text editor.

A built-in library allows you to save useful functions, templates or flows for re-use.

Built on Node.js The light-weight runtime is built on Node.js, taking full advantage of its event-driven, non-blocking model. This makes it ideal to run at the edge of the network on low-cost hardware such as the Raspberry Pi as well as in the cloud.

With over 225,000 modules in Node's package repository, it is easy to extend the range of palette nodes to add new capabilities.

Social Development The flows created in Node-RED are stored using JSON which can be easily imported and exported for sharing with others.

An online flow library allows you to share your best flows with the world.

Separate Database?

No

Fill this out as best as you can. Documentation about these can be found here: https://www.portainer.io/documentation/how-to-use-templates/

{
    "type": 1,
    "title": "Node-Red",
    "name": "node-red",
    "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.",
    "logo": "https://nodered.org/about/resources/media/node-red-icon-2.png",
    "image": "nodered/node-red:latest",
    "categories": [
      "Other",
      "Tools"
    ],
    "platform": "linux",
    "restart_policy": "unless-stopped",
    "ports": [
      "1880:1880/tcp" #Unsure if /tcp can be omitted. If so, best to remove it so we can also receive UDP into Node-Red. 
    ],
    "volumes": [
      {
        "container": "/nodered",
        "bind": "/portainer/nodered"

      }
    ],
    "env": [
      {
        "name": "PUID",
        "label": "PUID",
        "default": "1000"
      },
      {
        "name": "PGID",
        "label": "PGID",
        "default": "100"
      },
      {
        "name": "CONTEXT_PATH",
        "label": "CONTEXT_PATH",
        "set": "node-red"
      },
      {
        "name": "JAVA_OPTS",
        "label": "JAVA_OPTS",
        "set": "-Xms256m -Xmx512m"
      }
    ]
  },