How does it work for the application.conf locally ...
# ktor
d
How does it work for the application.conf locally vs in production. Do you create a application.conf.example, commit it on the repo but then add the application.conf in the .gitignore ? because the values in the fil will be different in production
Copy code
ktor {
    development = true
    deployment {
        port = 8080
        port = ${?PORT}
    }...
a
You can load different configs based on the value of some environment variable, e.g.
STAGE
, and/or have a single config that uses environment variables to provide values for keys.