aboutsummaryrefslogtreecommitdiffstats
path: root/cps-application/src
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2022-02-02 09:52:53 +0000
committerGerrit Code Review <gerrit@onap.org>2022-02-02 09:52:53 +0000
commitd72b27b95704803468f7812602b66220e2c71c7d (patch)
treecd4a56f82cd8e509c83f4b79213bf3adc35493a9 /cps-application/src
parent63132cec2c18363a8224646039cc23b6144d8e6c (diff)
parent73d588691b67c4e3981a32190adfbcd09e889f23 (diff)
Merge "Database port not configurable through env variable"
Diffstat (limited to 'cps-application/src')
-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