Hi
I'm looking to automate the provisionning of node-red docker instances based on a github repository.
If needed we would build our own docker image from the official one and adds necessary scripting.
The idea is to be able to launch a docker of node-red with an argument (ENV ?) pointing to a github repo from where it should pull:
the flows (flow.json, flow_cred.json, package.json)
settings.js
Regarding feasability:
would be easily achieved by using the Project feature and adding a git clone in the script before starting node-red
I would assume that the settings.js could be added manually to the same repo and could be pulled at the same time
What I'm not sure is about the dependencies that are in the package.json
Would they be installed automatically or should I do add anything prior to launching node-red to have them installed ?
Then I added the node to the projects dependencies (fro the GUI Project => Settings)
However, it was not added in package.json with the github source but with a version number, like a node installed from the palette: