summaryrefslogtreecommitdiffstats
path: root/cps-application
diff options
context:
space:
mode:
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