Advertisement
Guest User

Untitled

a guest
May 4th, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. server.port=8080
  2. spring.jpa.hibernate.ddl-auto=update
  3. spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy
  4. spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
  5. spring.datasource.url=jdbc:mysql://localhost:3306/Ivan
  6. spring.datasource.username=root
  7. spring.datasource.password=ivan.georgiev
  8. #spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration
  9.  
  10. ## MULTIPART (MultipartProperties)
  11. # Enable multipart uploads
  12. spring.servlet.multipart.enabled=true
  13. # Threshold after which files are written to disk.
  14. spring.servlet.multipart.file-size-threshold=2KB
  15. # Max file size.
  16. spring.servlet.multipart.max-file-size=200MB
  17. # Max Request Size
  18. spring.servlet.multipart.max-request-size=215MB
  19.  
  20. ## File Storage Properties
  21. # All files uploaded through the REST API will be stored in this directory
  22. file.upload-dir=./uploads
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement