Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flowfuse/driver-localfs
https://github.com/flowfuse/driver-localfs
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/flowfuse/driver-localfs
- Owner: FlowFuse
- License: apache-2.0
- Created: 2021-11-16T11:18:45.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-09T08:44:39.000Z (6 months ago)
- Last Synced: 2024-05-12T13:10:13.909Z (6 months ago)
- Language: JavaScript
- Size: 644 KB
- Stars: 3
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# FlowFuse LocalFS Driver
This will start/stop/monitor Node-RED instances and build separate useDirs for each instance
## Configure
In the `flowforge.yml` file the following options can be set under the `drive.options` section
```yaml
...
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)## 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 . [email protected]`In the FlowFuse Admin settings create a Stack with the Node-RED version `2.2.2`