From e467ab6c193182a364d8ab4370b73b5034b9bb57 Mon Sep 17 00:00:00 2001 From: Alyx Gryczewski Date: Sat, 27 Jul 2024 23:41:51 -0400 Subject: [PATCH] feat: used environment variables application properties --- src/main/resources/application.properties | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index a5a90c8..a20afe3 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,6 +1,7 @@ -spring.datasource.url=jdbc:postgresql://localhost:5432/fashionscape -spring.datasource.username=fsbot-dev -spring.datasource.password=fashionscape1234 +# spring.datasource.url=jdbc:postgresql://localhost:5432/fashionscape +spring.datasource.url=jdbc:postgresql://${PG_URI}:${PG_PORT}/${PG_DB} +spring.datasource.username=${PG_USER} +spring.datasource.password=${PG_PASS} spring.jpa.show-sql=true ## Hibernate Properties