From a0ec570d468c6c022dfeca39fbbf623a56d89f5b Mon Sep 17 00:00:00 2001 From: Muhammad Raihan Akbar <ianakbar711@gmail.com> Date: Wed, 26 Feb 2025 21:34:40 +0700 Subject: [PATCH] [REFACTOR] changed app dev db properties to localhost --- .env | 3 --- src/main/resources/application-dev.properties | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) delete mode 100644 .env diff --git a/.env b/.env deleted file mode 100644 index 6d5f502..0000000 --- a/.env +++ /dev/null @@ -1,3 +0,0 @@ -DB_URL=jdbc:postgresql://localhost:5432/be-authentication -DB_USERNAME=postgres -DB_PASSWORD=postgres diff --git a/src/main/resources/application-dev.properties b/src/main/resources/application-dev.properties index a0f2b58..b7c904d 100644 --- a/src/main/resources/application-dev.properties +++ b/src/main/resources/application-dev.properties @@ -1,8 +1,8 @@ spring.application.name=authentication -spring.datasource.url=${DB_URL} -spring.datasource.username=${DB_PASSWORD} -spring.datasource.password=${DB_PASSWORD} +spring.datasource.url=jdbc:postgresql://localhost:5432/be-authentication +spring.datasource.username=postgres +spring.datasource.password=postgres spring.datasource.driver-class-name=org.postgresql.Driver spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect -- GitLab