This is as much a ‘general’ / architectural question about the balena environment as it is specifically about the balenaSound project. I did some quick searching of the forums, and referred to the ‘similar’ topics suggested - but didn’t quite find a match. Totally happy with any RTFM links to documentation I may have overlooked
My question is this:
When adding additional libraries or components to a balena node - is there a recommended approach? Given my experience with the holiday lighting controller, and it’s 4 containers - I infer that for larger, discrete components, which communicate over network APIs - unique containers for each stand-alone component or service makes sense, giving each it’s own, decoupled lifecycle.
What if I want to add some libraries for a particular peripheral (a sensor, or a pHAT)? Can in point: I’ve got an Unicorn HD LED HAT on the Pi onto which I’m deploying balenaSound - and thought it might be fun to include a spectrum analyzer, or light show, or even track info…
I’ve got the repo cloned: Is it as simple as installing the libraries/packages I want in my local copy, and then:
$ balena push
Thanks in advance!