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 folderon a network location - Modify
settings.jsfile specifyinguserDir:to match location from step 1. - Modify
settings.jsfile specifyingcontextStoragelocation:
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.