application-dev.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. spring:
  2. datasource:
  3. url: jdbc:mysql://localhost:3306/helper?setUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
  4. driver-class-name: com.mysql.cj.jdbc.Driver
  5. username: root
  6. password: 123456
  7. jpa:
  8. open-in-view: true
  9. hibernate:
  10. ddl-auto: update
  11. database: mysql
  12. database-platform: org.hibernate.dialect.MySQL8Dialect
  13. show-sql: true
  14. http:
  15. encoding:
  16. force: true
  17. redis:
  18. host: localhost
  19. port: 6379
  20. data:
  21. redis:
  22. repositories:
  23. enabled: false
  24. mail:
  25. host: smtp.qq.com
  26. username: chen_st@foxmail.com
  27. password: jgeiyvaojagnecjd
  28. properties:
  29. mail:
  30. smtp:
  31. auth: true
  32. socketFactory:
  33. class: javax.net.ssl.SSLSocketFactory
  34. port: 465
  35. starttls:
  36. enable: true
  37. required: true
  38. servlet:
  39. multipart:
  40. max-file-size: 50MB
  41. max-request-size: 100MB
  42. aliyun:
  43. oss:
  44. endpoint: oss-cn-hangzhou.aliyuncs.com
  45. access-key-id: LTAI4Fi1qmL4iuhH8t7G7r2H
  46. access-key-secret: 7tJWyQqa0cMkQGaPMMvtH6c0VLiOO2
  47. bucket-name: seec-helper-pdf
  48. # 自定义数据
  49. helper:
  50. mail:
  51. from: ${spring.mail.username}