Development server open balena

Hi!

I would like to create a second open balena server for development purpouse, is it possible to exploit two different open balena server on the same machine?

How should I explicit the second balena domain in the balena ~/.balenarc.yml file?
Is it possible to then log in with each open balena server?

Thanks
Matteo

Hi there – if you’re running openBalena on bare metal hardware, you may find that you can run a development instance successfully in a VM; I’d watch out for performance issues, though, if you don’t have sufficient RAM and CPU to run both. Alternately, you could copy the docker-compose.yml file and modify it as necessary to run as a separate instance. Ultimately, you may find that the easiest way to do this, though, is to set up a separate machine (whether bare metal or a separate VPS instance).

Our Advanced CLI Masterclass covers how to interact with different environments. We also have an open issue to support switching easily between accounts.

I hope this helps. Let us know how this works for you!

All the best,
Hugh

1 Like