I read through the fly.io docs and did some research in this forum and from what I gather the only way to pass configuration to an app is via environmental variables.
I have an app that has a separate config file (YAML) that I need to use to configure the app to run. Providing ENVARS is extremely difficult; there are over 100 key-value fields in the config file!
Is using ENVARS really the only way to configure a fly app?
using environment variables is the only way to dinamically configure an app. Ie: change its behavior without the need to redeploy it.
There’s nothing preventing you from embedding this config file on your docker image and deploying it along with your app - then the app can just read it. Almost every app ends up having both dynamic and “static” configurations.