@allanoricil/localfs

0.0.6 • Public • Published

FlowFuse LocalFS Driver

This will start/stop/monitor Node-RED instances and build separate useDirs for each instance

Configure

The following environment variables (in the .env file) configure this driver

  • CONTAINER_DRIVER=localfs
  • LOCALFS_ROOT=<path/to/store/project/userDirs>
  • LOCALFS_START_PORT=12080
  • LOCALFS_NODE_PATH=<path/to/node/binary> (not required, but useful with nvm)

Node-RED Versions for Stacks

To install copies of different versions of Node-RED for use by Project Stacks do the following:

Assuming you wish to install Node-RED v2.2.2

  • In the var directory create a directory called stacks
  • In the var/stacks directory create a directory called 2.2.2
  • in the var/stacks/2.2.2 directory run npm install --prefix . node-red@2.2.2

In the FlowFuse Admin settings create a Stack with the Node-RED version 2.2.2

Readme

Keywords

none

Package Sidebar

Install

npm i @allanoricil/localfs

Weekly Downloads

4

Version

0.0.6

License

Apache-2.0

Unpacked Size

36.7 kB

Total Files

9

Last publish

Collaborators

  • allanoricil