diff --git a/application.yaml b/application.yaml
index fee03e0..57ecf45 100644
--- a/application.yaml
+++ b/application.yaml
@@ -3,9 +3,9 @@ server:
spring:
datasource:
- username: root
- password: hRMH94dJ
- url: jdbc:mysql://localhost:3306/search_engine?useSSL=false&requireSSL=false&allowPublicKeyRetrieval=true
+ username: ${DB_USER}
+ password: ${DB_PASSWORD}
+ url: ${DB_URL}
jpa:
hibernate:
ddl-auto: update
diff --git a/pom.xml b/pom.xml
index cedc726..4f2ca58 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,5 +45,10 @@
8.4.0
runtime
+
+ me.paulschwarz
+ spring-dotenv
+ 4.0.0
+
\ No newline at end of file