- docs
- FlowFuse User Manuals
- Using FlowFuse
- Getting Started
- Static asset service
- Bill of Materials
- FlowFuse Concepts
- Changing the Stack
- Custom Hostnames
- Device Groups
- DevOps Pipelines
- Environment Variables
- FlowFuse Assistant
- FlowFuse File Nodes
- FlowFuse Persistent Context
- FlowFuse Project Nodes
- High Availability mode
- HTTP Access Tokens
- Instance Settings
- Logging
- Shared Team Library
- Snapshots
- Team Broker
- Teams
- User Settings
- FlowFuse API
- Migrating a Node-RED project to FlowFuse
- Device Agent
- Device Agent
- FlowFuse Device Agent Introduction
- Quick Start
- Installation
- Quick Start with Web UI
- Register your Device
- Running the Agent
- Deploying your Flows
- Hardware Guides
- FlowFuse Cloud
- FlowFuse Cloud
- FlowFuse Self-Hosted
- Quick Start
- Installing FlowFuse
- Overview
- Configuring FlowFuse
- DNS Setup
- Docker install
- Docker from AWS Market Place
- Docker on Digital Ocean
- Add Project Stacks on Docker
- Docker Engine on Windows
- Email configuration
- First Run Setup
- FlowFuse File Storage
- Install FlowFuse on Kubernetes
- Upgrading FlowFuse
- Administering FlowFuse
- Administering FlowFuse
- Configuring Single Sign-On (SSO)
- Licensing
- Monitoring
- Telemetry
- User Management
- Support
- Community Support
- Premium Support
- Debugging Node-RED issues
- Contributing
- Contributing to FlowFuse
- Introduction
- Adding Template Settings
- API Design
- Creating debug stack containers
- Database migrations
- FlowFuse Architecture
- Local Install
- State Flows
- Device Editor
- Invite External Users
- User Login Flows
- Reset Password Flow
- Project Creation
- Instance states
- User Sign up Flow
- Team creation Flow
- Team Broker
- Working with Feature Flags
# Local Stacks
A Stack defines a set of platform configuration options that will get applied to each Node-RED instance when it is created.
For the Local deployment model, this covers two things:
memory
- the value to apply (in MB) to the Node.jsmax-old-space-size
option. This defines the point where Node.js will start freeing unused memory. It is not a hard limit - Node-RED's memory usage will not be capped - but this is useful when running on a memory constrained device such as a Raspberry Pi. Recommended minimum256
.nodered
- the version number of Node-RED to use. This should match the value used in the steps following.
The FlowFuse installer will create a default stack using the latest stable release of Node-RED.
The stacks are stored under /opt/flowforge/var/stacks
or c:\flowforge\var\stacks
on Windows.
# Creating a Stack
When a new version of Node-RED is released, it can be added to your FlowFuse platform by creating a new stack.
For a local install there are two steps required:
-
Install a new Node-RED version
In the FlowFuse Home directory, run the provided install script. You must provide the full Node-RED version number, eg
3.0.2
, or uselatest
to install the most recent stable version.Linux/Mac:
cd /opt/flowforge
./bin/ff-install-stack.sh 3.0.2Windows
cd c:\flowforge
bin\ff-install-stack.bat 3.0.2 -
Add the Stack into the FlowFuse Admin UI - see Managing Stacks.
# Development Only
If you are developing FlowFuse having checked it out from GitHub then you can run the following command in the repository root to install a stack:
npm run install-stack --vers=3.0.2