https://kotlinlang.org logo
#ktor
Title
# ktor
h

Harpreet Singh.8052

03/12/2024, 1:47 PM
hello everyone !! , i have some
Api
keys inside my
ktor
app (mongoDb connection String and OneSiganl key for Notificaton) , i added that keys inside my
application.config
file and that file to
.gitignore
and containarize the app using
Docker
its my first time using docker and when i deployed , it showing error that not able to access those keys that are inside
applicaton.config
, so my question is where can i add those keys so that , it wont stuck on versionContol or usabel inside my docker
a

Aleksei Tirman [JB]

03/12/2024, 1:50 PM
You can pass a path to the config file via the
-config
CLI option. For more information please read the documentation.
👍 1