all the application configurations has been defined in application.conf, application-dev.conf and application-prod.conf. Also made the ktor server configuration in external file.
This commit is contained in:
17
src/main/resources/application-dev.conf
Normal file
17
src/main/resources/application-dev.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
database {
|
||||
host = "localhost"
|
||||
port = 1521
|
||||
name = "IPKSDB"
|
||||
user = "pacs_db"
|
||||
password = "pacs_db"
|
||||
}
|
||||
|
||||
bank {
|
||||
server {
|
||||
protocol = "http"
|
||||
host = "localhost"
|
||||
port = 8080
|
||||
rootRoute = "IPKS_Queue_Generation"
|
||||
transactionRoute = "IpksApi"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user