Node-red + docker-compose (updating flows, and dependencies)

Hey,

I am planning to run node-red using docker (docker-compose in particular). The initial run works and obviously is very simple if you follow this instruction.

However things are getting a bit more complex if a) you are inexperienced with docker-compose b) you need some more configs.

I would like to about advice how to setup following things:

  • How to set / add dependencies to package.json using nodered/node-red ??
  • How to load / backup flows.json?

I have setup very initial repo:

Thanks in advance for any advice!