1.15.5 • Published 1 year ago

@edgeflow/nr-launcher v1.15.5

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 year ago

EdgeFlow Launcher for Node-RED

@edgeflow/nr-launcher

This is the launcher EdgeFlow uses to run instances of Node-RED. It dynamically generates the Node-RED settings based on the associated Project's settings.

The launcher starts its own HTTP service to allow the EdgeFlow platform to remotely control it.

Configure

  • --auth - 启用鉴权
  • --verbose - 启用debug日志
  • --forgeURL - URL for Forge platform
  • --forgeURL - URL for Forge platform
  • --port - port to listen on for management interface
  • --team - EdgeFlow team id UUID
  • --project - EdgeFlow project id UUID
  • --token - Bearer Token to access Forge platform
  • --nodeRedPath - path to dir with a node_modules directory container a version of Node-RED
  • --no-tcp-in - inhibit TCP nodes from being servers
  • --no-udp-in - inhibit UDP nodes from being servers

The following Environment Variables can be used instead of the cmd line args...

FORGE_URL, FORGE_TEAM_ID, FORGE_PROJECT_ID, FORGE_PROJECT_TOKEN, FORGE_NR_PATH, FORGE_NR_NO_TCP_IN, FORGE_NR_NO_UDP_IN

NOTE: cmd line args take precedent if both are provided

By default, the launcher does not pass host environment variables through to the Node-RED process; only setting the built-in env vars and those configured in the instance settings.

However, if FORGE_EXPOSE_HOST_ENV is set, the launcher will pass through all env vars - except that starting with FORGE_*.

docker run your-node-app-image --auth --verbose
1.15.4

1 year ago

1.15.3

1 year ago

1.15.5

1 year ago

1.15.0

1 year ago

1.15.2

1 year ago

1.15.1

1 year ago

1.14.14

1 year ago

1.14.11

2 years ago

1.14.5

2 years ago

1.14.4

2 years ago

1.14.3

2 years ago

1.14.9

2 years ago

1.14.10

2 years ago

1.14.7

2 years ago

1.14.6

2 years ago

1.14.2

2 years ago

1.14.1

2 years ago

1.14.0

2 years ago

1.13.6

2 years ago

1.13.5

2 years ago

1.13.4

2 years ago

1.13.9

2 years ago

1.13.11

2 years ago

1.13.8

2 years ago

1.13.10

2 years ago

1.13.7

2 years ago

1.13.3

2 years ago