From aaf2ddcd25bdb281238f455095bffdc9901adbf7 Mon Sep 17 00:00:00 2001 From: Rohan Sircar Date: Thu, 22 Apr 2021 12:47:37 +0530 Subject: [PATCH] Add env variables for app db user and pass --- src/main/resources/application.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/resources/application.conf b/src/main/resources/application.conf index f3f8d40..4418757 100644 --- a/src/main/resources/application.conf +++ b/src/main/resources/application.conf @@ -10,7 +10,9 @@ myapp = { dbName = ${?APP_DB_NAME} url = "jdbc:postgresql://"${myapp.database.dbHost}":"${myapp.database.dbPort}"/"${myapp.database.dbName} user = "test_user" + user = ${?APP_DB_NAME} password = "password" + password = ${?APP_DB_PASSWORD} numThreads = 16 queueSize = 1000 maxConnections = 16