balena-io / open-balena

Open source software to manage connected IoT devices at scale
https://balena.io/open
GNU Affero General Public License v3.0
1.04k stars 164 forks source link

Up to date version of open-balena api requires API_HOST, not HOST env var #178

Closed brynmathias closed 1 month ago

brynmathias commented 8 months ago

Line in api code is: https://github.com/balena-io/open-balena-api/blob/df219c87659a70f6f3647e882d716085bcfe65f8/src/lib/config.ts#L60

but in compose file we only reference HOST: https://github.com/balena-io/open-balena/blob/ea07d43c5c7e98bb8b11c808b12428a46019c8d5/compose/services.yml#L31C7-L31C11

ab77 commented 1 month ago

It needs both. The resolution happens here.