Skip to content

Commit

Permalink
#000 | Allow startup of integration service with connection to cli pa…
Browse files Browse the repository at this point in the history
…ram specified postgres db port
  • Loading branch information
himeshr committed Feb 7, 2023
1 parent dfd6262 commit 56ce5cf
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Database
spring.datasource.url=${AVNI_INT_DATASOURCE:jdbc:postgresql://localhost:5432/avni_int}
avni.int.database=${AVNI_INT_DATABASE:avni_int}
avni.int.database.port=${AVNI_INT_DATABASE_PORT:5432}
spring.datasource.url=${AVNI_INT_DATASOURCE:jdbc:postgresql://localhost:${avni.int.database.port}/${avni.int.database}}
spring.datasource.username=${AVNI_INT_DB_USER:avni_int}
spring.datasource.password=${AVNI_INT_DB_PASSWORD:password}
spring.datasource.driverClassName=org.postgresql.Driver
Expand Down

0 comments on commit 56ce5cf

Please sign in to comment.