We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99796b0 commit 36a7541Copy full SHA for 36a7541
1 file changed
src/main/resources/application.properties
@@ -1,11 +1,10 @@
1
spring.application.name=bookstore
2
-spring.datasource.url=jdbc:mysql://localhost:3306/bookstore_db
3
-spring.datasource.username=root
4
-spring.datasource.password=NewStrongPassword
+spring.datasource.url=${DB_URL}
+spring.datasource.username=${DB_USER}
+spring.datasource.password=${DB_PASS}
5
+server.port=${PORT:8080}
6
+
7
spring.jpa.hibernate.ddl-auto=update
8
spring.jpa.show-sql=true
9
spring.thymeleaf.cache=false
10
server.port=8080
-
-# Added this line to support Render's dynamic port
11
-server.port=${PORT:8080}
0 commit comments