From bba777accd54b9ce4757d9e2ad40f960f0f50542 Mon Sep 17 00:00:00 2001 From: Theo Bouwman Date: Thu, 12 Nov 2020 17:00:55 +0100 Subject: [PATCH] config --- resources/template.application.conf | 18 ++++++++++++++++++ resources/template.dbconfig.properties | 6 ++++++ 2 files changed, 24 insertions(+) create mode 100644 resources/template.application.conf create mode 100644 resources/template.dbconfig.properties diff --git a/resources/template.application.conf b/resources/template.application.conf new file mode 100644 index 0000000..5be00e4 --- /dev/null +++ b/resources/template.application.conf @@ -0,0 +1,18 @@ +ktor { + deployment { + port = 8080 + port = ${?PORT} + } + application { + modules = [ app.ApplicationKt.module ] + } +} + +jwt { + domain = "template.ktor" + audience = "template" + realm = "template" + secret = "secret" +} + +hikariconfig = "resources/dbconfig.properties" \ No newline at end of file diff --git a/resources/template.dbconfig.properties b/resources/template.dbconfig.properties new file mode 100644 index 0000000..65d4982 --- /dev/null +++ b/resources/template.dbconfig.properties @@ -0,0 +1,6 @@ +dataSourceClassName=org.postgresql.ds.PGSimpleDataSource +dataSource.user=postgres +dataSource.password=password +dataSource.databaseName=postgres +dataSource.portNumber=5432 +dataSource.serverName=localhost \ No newline at end of file