Luiz Aguiar
11/07/2022, 2:22 PM-config
via command line the best approach?
java -jar sample-app.jar -config=anotherfile.conf
Aleksei Tirman [JB]
11/08/2022, 8:41 AMis it possible to setup a Ktor application to fit these needs?Yes.
is usingThat’s difficult to answer. You can try solving your problem with configuration, environment variables or both to decide what’s better.via command line the best approach?-config
Luiz Aguiar
11/08/2022, 9:07 AM-config
because I didn't find another option to have multiple "profiles" that can be loaded on specific environments, but I'm don't know if there is any other option.Aleksei Tirman [JB]
11/08/2022, 11:25 AM<profile>_<env>.conf
, if you need to know what are the current profile and environment.