Skip to content

Commit 68ae5ec

Browse files
OTP Serive Added
1 parent a3c0078 commit 68ae5ec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/resources/application.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
spring.datasource.url=jdbc:postgresql://localhost:5432/registration
2-
spring.datasource.username=postgres
3-
spring.datasource.password=postgres
1+
spring.datasource.url=${DB_URL}
2+
spring.datasource.username=${DB_USERNAME}
3+
spring.datasource.password=${DB_PASSWORD}
44
spring.datasource.driver-class-name=org.postgresql.Driver
55
spring.jpa.hibernate.ddl-auto=update
66
spring.jpa.show-sql=true
@@ -12,7 +12,7 @@ server.port=1000
1212
spring.mail.host=smtp.gmail.com
1313
spring.mail.port=587
1414
spring.mail.username[email protected]
15-
spring.mail.password=cfgoolyvzedywmbw
15+
spring.mail.password=${APP_PASSWORD}
1616
spring.mail.properties.mail.smtp.auth=true
1717
spring.mail.properties.mail.smtp.starttls.enable=true
1818
spring.mail.properties.mail.smtp.starttls.required=true

0 commit comments

Comments
 (0)