Hello.
I found some tips here:
How to copy credentials in node-red flow?
and here:
Node-RED User Directory
My approach to solving this:
- Create a copy of the
~/.node-red folder
on a network location - Modify
settings.js
file specifyinguserDir:
to match location from step 1. - Modify
settings.js
file specifyingcontextStorage
location:
contextStorage: {
default: {
module:"localfilesystem",
config: {
dir: "<path to your dir>", // eg. "/home/pi/store/"
base: "<name of the directory for context>", // eg. "context"
}
},
},
This allows to share flows and credentials between devices.