Skip to content

Commit

Permalink
config
Browse files Browse the repository at this point in the history
  • Loading branch information
Theo Bouwman committed Nov 12, 2020
1 parent 949746a commit bba777a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
18 changes: 18 additions & 0 deletions resources/template.application.conf
Original file line number Diff line number Diff line change
@@ -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"
6 changes: 6 additions & 0 deletions resources/template.dbconfig.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dataSourceClassName=org.postgresql.ds.PGSimpleDataSource
dataSource.user=postgres
dataSource.password=password
dataSource.databaseName=postgres
dataSource.portNumber=5432
dataSource.serverName=localhost

0 comments on commit bba777a

Please sign in to comment.