Skip to content

Commit 736cedf

Browse files
committed
update env variable to accept injection
1 parent db2075a commit 736cedf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
spring.datasource.url=jdbc:postgresql://localhost:5432/hello_db
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.jpa.hibernate.ddl-auto=update

0 commit comments

Comments
 (0)