Alternative to docker compose parameter substitution

I’m attempting to get the AI bridge running under Balena for an AI appliance use case. Balena supports a subset of Docker compose functionality and unfortunately parameter substitution is one of the things that is not supported.

Do the AI Bridge containers support reading configuration information from a file as an alternative to passing in a command line argument?

For example, instead of passing in BRIDGE_ID as a command argument for the aibridge-webservice, is it possible to set this in a settings file that is passed into the container and read by the container at startup.

aibridge-webservice, aibridge-init and aibridge-streaming are the three containers that I’m looking to do this with.

After taking a look at the containers a bit more, I think the best path forward for our use case is to override the entrypoint and inject our own startup script plus configuration parameters.

If there are better alternatives, happy to give those a try as well.