You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the time of starting the microservice and instantiating the configuration Koin module, the application crashes because it cannot find the application.yml file
val configModule = module {
single<AppConfig> {
ConfigLoaderBuilder.default()
.addResourceSource("/application.yml")
.strict()
.build()
.loadConfigOrThrow()
}
single { get<AppConfig>().mfa }
single { get<AppConfig>().redis }
single { get<AppConfig>().auth }
}
Could you tell me if I have to apply any additional configuration so that the library finds the configuration file?
Thank so much, Greetings
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi,
Thanks for this great library,
I'm integrating it into my Ktor project which will run as a native Graalvm image.
I'm using theses dependencies:
I have the following application.yml
I have integrated the following configuration in order to make the yml files available in the binary
At the time of starting the microservice and instantiating the configuration Koin module, the application crashes because it cannot find the application.yml file
Could you tell me if I have to apply any additional configuration so that the library finds the configuration file?
Thank so much, Greetings
The text was updated successfully, but these errors were encountered: