application-deploy.yml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. web:
  25. pageable:
  26. max-page-size: 1000
  27. one-indexed-parameters: true
  28. mail:
  29. host: smtp.exmail.qq.com
  30. username: noreply@seecoder.cn
  31. password: eNrZcqucgcFtLC29
  32. properties:
  33. mail:
  34. smtp:
  35. auth: true
  36. socketFactory:
  37. class: javax.net.ssl.SSLSocketFactory
  38. port: 465
  39. starttls:
  40. enable: true
  41. required: true
  42. servlet:
  43. multipart:
  44. max-file-size: 50MB
  45. max-request-size: 100MB
  46. aliyun:
  47. oss:
  48. endpoint: oss-cn-hangzhou.aliyuncs.com
  49. accessKeyId: LTAI4Fi1qmL4iuhH8t7G7r2H
  50. accessKeySecret: 7tJWyQqa0cMkQGaPMMvtH6c0VLiOO2
  51. bucketName: seec-helper-pdf
  52. sms:
  53. accessKeyId: LTAI4FiAXXyNfYJLweBXpKPx
  54. accessSecret: IBoC7KGkZHOvxZQIfQgp98ZY48AVjW
  55. signName: seeccoder
  56. templateCode: SMS_181555598
  57. bok:
  58. url: http://bok.seecoder.cn
  59. tqUrl: ${bok.url}/api/question
  60. tqSearchUrl: ${bok.tqUrl}/search
  61. tqStemSearchUrl: ${bok.tqSearchUrl}/findByStemLike?content={content}&size={size}&page={page}
  62. tqIdSearchUrl: ${bok.tqSearchUrl}/findByIdIn?id={id}
  63. knowledgeUrl: ${bok.url}/api/neo
  64. knowledgeGetAllUrl: ${bok.knowledgeUrl}/getAll
  65. guavaCache:
  66. maximumSize: 1000
  67. expireAfterAccessInSeconds: 0
  68. expireAfterWriteInSeconds: 600
  69. jwt:
  70. secret: SEEC-1919810-OIDC-114514
  71. # 自定义数据
  72. helper:
  73. mail:
  74. from: ${spring.mail.username}
  75. subject: seecoder
  76. user-timeout-seconds: 43200