application-dev.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. spring:
  2. datasource:
  3. url: jdbc:mysql://120.78.159.171:19999/helper?setUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
  4. driver-class-name: com.mysql.cj.jdbc.Driver
  5. username: root
  6. password: password
  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: 120.78.159.171
  19. port: 6379
  20. data:
  21. redis:
  22. repositories:
  23. enabled: false
  24. mail:
  25. host: smtp.163.com
  26. username: seecoder@163.com
  27. password: seec67NJU
  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. accessKeyId: LTAI4Fi1qmL4iuhH8t7G7r2H
  46. accessKeySecret: 7tJWyQqa0cMkQGaPMMvtH6c0VLiOO2
  47. bucketName: seec-helper-pdf
  48. sms:
  49. accessKeyId: LTAI4FiAXXyNfYJLweBXpKPx
  50. accessSecret: IBoC7KGkZHOvxZQIfQgp98ZY48AVjW
  51. signName: seeccoder
  52. templateCode: SMS_181555598
  53. # 自定义数据
  54. helper:
  55. mail:
  56. from: ${spring.mail.username}
  57. subject: seeccoder