application-deploy.yml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. spring:
  2. datasource:
  3. url: jdbc:mysql://localhost:13306/helper?setUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
  4. driver-class-name: com.mysql.cj.jdbc.Driver
  5. username: root
  6. password: NJU67helper
  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: false
  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.exmail.qq.com
  26. username: noreply@seecoder.cn
  27. password: eNrZcqucgcFtLC29
  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. bok:
  54. url: http://bok.seecoder.cn
  55. searchUrl: ${bok.url}/api/question/search/
  56. tqUrl: ${bok.url}/api/question/
  57. guavaCache:
  58. maximumSize: 1000
  59. expireAfterAccessInSeconds: 0
  60. expireAfterWriteInSeconds: 600
  61. # 自定义数据
  62. helper:
  63. mail:
  64. from: ${spring.mail.username}
  65. subject: seecoder