Node-red multi-server sync and/or deployment

I have multiple servers running the same flow...

Is there any good solutions to automating deployment or syncing and deploying changes from source server A, out to target servers B, C, D ... etc? Instead of manually Export / Copy All Nodes the code and Import into the other Node-red instances?

I imagine being able to scp a copy of the A server's Node-red flows file to overwrite (or somehow version out) the file into the other servers... but how would we "deploy" it without needing to restart Node-RED?

the deploy is "just" an http POST - so you can post the new flow to the correct admin endpoint(s), and they will deploy and start.

1 Like