Skip to content

Commit 732ed1c

Browse files
committed
feat(config): update database credentials to use environment variables
1 parent c15efbd commit 732ed1c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/resources/application.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ springdoc.swagger-ui.path=/api
55
randomuser.api.base-url=https://randomuser.me/
66

77
spring.datasource.url=jdbc:postgresql://localhost:5432/xpeho_db
8-
spring.datasource.username=postgres
9-
spring.datasource.password=postgres
8+
spring.datasource.username=${DB_USER}
9+
spring.datasource.password=${DB_PASSWORD}

0 commit comments

Comments
 (0)