Advertisement
Guest User

Untitled

a guest
May 31st, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. # ===============================
  2. # TOMCAT
  3. # ===============================
  4. server.address=127.0.0.1
  5. server.error.whitelabel.enabled=false
  6. server.tomcat.accesslog.enabled=true
  7.  
  8. # ===============================
  9. # SMTP EMAIL
  10. # ===============================
  11. spring.mail.host = smtp.mailhost.com
  12. spring.mail.username = mailUser
  13. spring.mail.password = mailPass
  14. spring.mail.port = 587
  15. spring.mail.properties.mail.smtp.auth = true
  16. spring.mail.properties.mail.smtp.starttls.enable = true
  17.  
  18. # ===============================
  19. # = LOGGING
  20. # ===============================
  21. logging.level.org.springframework.web=DEBUG
  22. logging.level.org.hibernate=ERROR
  23.  
  24. # ===============================
  25. # = DATA SOURCE
  26. # ===============================
  27. spring.datasource.url=jdbc:mysql://localhost:3306/demo_db
  28. spring.datasource.username=dbUser
  29. spring.datasource.password=dbPass
  30. spring.datasource.driver-class-name=com.mysql.jdbc.Driver
  31. spring.datasource.tomcat.max-wait=10000
  32. spring.datasource.tomcat.max-active=5
  33. spring.datasource.tomcat.test-on-borrow=true
  34.  
  35. # ===============================
  36. # = JPA / HIBERNATE
  37. # ===============================
  38. spring.jpa.show-sql = true
  39. spring.jpa.hibernate.ddl-auto = create
  40.  
  41. # ===============================
  42. # = Thymeleaf configurations
  43. # ===============================
  44. spring.thymeleaf.mode=LEGACYHTML5
  45. spring.thymeleaf.cache=false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement