- Administering FlowForge
- Contributing to FlowForge
- Adding Template Settings
- API Design
- Database migrations
- FlowForge Architecture
- State Flows
- FlowForge API
- FlowForge Cloud
- Using FlowForge
- Changing the Stack
- Environment Variables
- FlowForge Concepts
- FlowForge File Nodes
- FlowForge Persistent Context
- FlowForge Project Nodes
- Instance Settings
- Migrating a Node-RED project to FlowForge
- Node-RED Tools plugin
- Shared Team Library
- Staged Deployments
- Running FlowForge
- Installing FlowForge
- Configuring FlowForge
- DNS Setup
- Docker install
- Email configuration
- First Run Setup
- FlowForge File Storage
- Install FlowForge on Kubernetes
- Local Install
- Upgrading FlowForge
# Docker Stacks
A Stack defines a set of platform configuration options that will get applied to each Node-RED instance when created.
For container based deployment models, this covers three things:
memory- the amount of memory (in MB) to limit container to. Recommended minimum:
cpu- a value between 1 and 100 that is the % of a CPU core the container should be allowed to consume.
container- this is the fully qualified name of the container to use. The default container built when following the install instructions is named
FlowForge supports Node-RED 2.2.x and later.
# Creating Containers
There is an example
package.json in the node-red-container
directory of the docker-compose project. This will start with
as it's base and then add the required FlowForge components.
Builds of this container for amd64, arm64 and armv7 are built for every release and published to Docker hub as flowforge/node-red. These can be used as a base to build custom stacks.
If you wanted to pin at Node-RED v3.0.2 you would change the first line to:
RUN if [[ ! -z "$REGISTRY" ]] ; then npm config set @flowforge:registry "$REGISTRY"; fi
COPY package.json /data
To add nodes to the default image you can add them to the
package.json file along side the FlowForge plugins
"description": "A Node-RED Project",
To build the container run the following:
docker build node-red-container -t flowforge/node-red-dashboard:3.0.2
You would then enter
flowforge/node-red-dashboard:3.0.2 in the
container section of the Stack configuration.
Stacks can be changed on a per instance basis, see also the user stack documentation.