This will start/stop/monitor Node-RED instances and build separate useDirs for each instance
In the flowforge.yml
file the following options can be set under the drive.options
section
...
driver:
type: localfs
options:
start_port: 12080
privateCA: /full/path/to/chain.pem
logPassthrough: true
start_port
Port number to start from when creating Instances (default: 12080)privateCA
is a fully qaulified path to a pem file containing trusted CA cert chain (default: not set)logPassthrough
Have Node-RED logs printed in JSON format to container stdout (default false)
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 calledstacks
- In the
var/stacks
directory create a directory called2.2.2
- in the
var/stacks/2.2.2
directory runnpm install --prefix . node-red@2.2.2
In the FlowFuse Admin settings create a Stack with the Node-RED version 2.2.2