gelbal
4
Hey @wzhou first of all welcome to the balena community!
Can you please expand on your use case?
You could utilize the same named Docker compose file’s configuration option perhaps:
We have a Javascript example to demo this capability on a balena device:
Additionally, the device supervisor has the following endpoint that you might be interested in utilizing instead of building such logic yourself:
I wanted to give some general direction. Then let us know if you have any specific questions.
Cheers…