Configure application properties for database connection and JWT secret
This commit is contained in:
@@ -1 +1,12 @@
|
|||||||
spring.application.name=app
|
spring.application.name=app
|
||||||
|
|
||||||
|
spring.config.import=optional:file:.env[.properties]
|
||||||
|
|
||||||
|
spring.datasource.url=${MYSQL_URL}
|
||||||
|
spring.datasource.username=${MYSQL_USER}
|
||||||
|
spring.datasource.password=${MYSQL_PASS}
|
||||||
|
|
||||||
|
spring.jpa.hibernate.ddl-auto=update
|
||||||
|
spring.jpa.show-sql=true
|
||||||
|
|
||||||
|
jwt.secret=5c6fbfca8ab9a88c4c6308cc8fd7f4f57543cb072e4db605a718d65d3fa16509
|
||||||
|
|||||||
Reference in New Issue
Block a user