Skip to content

Instantly share code, notes, and snippets.

@renaudmathieu
Created July 5, 2021 15:15
Show Gist options
  • Save renaudmathieu/ad9e916bc7db544718c4eb465d233813 to your computer and use it in GitHub Desktop.
Save renaudmathieu/ad9e916bc7db544718c4eb465d233813 to your computer and use it in GitHub Desktop.
ktor_part3_application_conf
ktor {
...
database {
connection {
jdbc = "jdbc:postgresql://localhost:5432/postgres"
jdbc = ${?DATABASE_JDBC}
user = admin
user = ${?DATABASE_USER}
password = admin
password = ${?DATABASE_PASSWORD}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment