application-dev.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. jedis:
  21. pool:
  22. max-active: 32
  23. max-wait: 300ms
  24. max-idle: 16
  25. min-idle: 8
  26. data:
  27. redis:
  28. repositories:
  29. enabled: false
  30. mail:
  31. host: smtp.163.com
  32. username: seecoder@163.com
  33. password: seec67NJU
  34. properties:
  35. mail:
  36. smtp:
  37. auth: true
  38. socketFactory:
  39. class: javax.net.ssl.SSLSocketFactory
  40. port: 465
  41. starttls:
  42. enable: true
  43. required: true
  44. servlet:
  45. multipart:
  46. max-file-size: 50MB
  47. max-request-size: 100MB
  48. aliyun:
  49. oss:
  50. endpoint: oss-cn-hangzhou.aliyuncs.com
  51. accessKeyId: LTAI4Fi1qmL4iuhH8t7G7r2H
  52. accessKeySecret: 7tJWyQqa0cMkQGaPMMvtH6c0VLiOO2
  53. bucketName: seec-helper-pdf
  54. sms:
  55. accessKeyId: LTAI4FiAXXyNfYJLweBXpKPx
  56. accessSecret: IBoC7KGkZHOvxZQIfQgp98ZY48AVjW
  57. signName: seeccoder
  58. templateCode: SMS_181555598
  59. bok:
  60. url: http://bok.seecoder.cn
  61. guavaCache:
  62. maximumSize: 1000
  63. expireAfterAccessInSeconds: 1800
  64. expireAfterWriteInSeconds: 1800
  65. # 自定义数据
  66. helper:
  67. mail:
  68. from: ${spring.mail.username}
  69. subject: seeccoder