summaryrefslogtreecommitdiffstats
path: root/cps-application
diff options
context:
space:
mode:
authorputhuparambil.aditya <aditya.puthuparambil@bell.ca>2022-01-28 13:22:33 +0000
committerputhuparambil.aditya <aditya.puthuparambil@bell.ca>2022-01-28 13:22:33 +0000
commit73d588691b67c4e3981a32190adfbcd09e889f23 (patch)
treedbce03bd635ba798bfe6d4b671d0c2bb2c1f75bf /cps-application
parenta5ce86d02493f141848f9d609c65883d2198894a (diff)
Database port not configurable through env variable
Issue-ID: CPS-867 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I1f5e00c6b814a5ba087ba0cc1832152b2317ad57
Diffstat (limited to 'cps-application')
-rw-r--r--cps-application/src/main/resources/application.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml
index d615e995c6..723e2ca196 100644
--- a/cps-application/src/main/resources/application.yml
+++ b/cps-application/src/main/resources/application.yml
@@ -41,7 +41,7 @@ spring:
dialect: org.hibernate.dialect.PostgreSQLDialect
datasource:
- url: jdbc:postgresql://${DB_HOST}:5432/cpsdb
+ url: jdbc:postgresql://${DB_HOST}:${DB_PORT:5432}/cpsdb
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
driverClassName: org.postgresql.Driver