Hi all, is it possible to override an arbitrary pr...
# ktor
p
Hi all, is it possible to override an arbitrary property using an environment variable? For example in yaml I have
postgres.database: my-db
that I'd want to override with an env var
POSTGRES_DATABASE: my-real-db
. I know I can do
postgres.database: "$POSTGRES_DATABASE:my-db"
but that seems like a lot of noise for every possible property.
a
How would you like to solve it?
a
Unfortunately, Ktor does not have such functionality (using environment variables based on the properties' names). You can file a feature request.
thank you color 1