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

Marcelus Trojahn

07/14/2021, 7:27 PM
Good afternoon... I've been trying to figure this out with no luck: Is there any way to make EngineMain use another file instead of application.conf? I'm trying to create a monolith here with several Ktor servers and a application-server-#.conf for each server.
👀 1
a

Aleksei Tirman [JB]

07/15/2021, 9:29 AM
You can pass the command line flag
-config
with a path to a config file as value, e.g.
-confg=/path/to/config
.
m

Marcelus Trojahn

07/15/2021, 12:25 PM
Oh nice, thanks!