application-uat.yml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. spring:
  2. # 123.60.213.70
  3. # 数据库配置
  4. datasource:
  5. type: com.alibaba.druid.pool.DruidDataSource
  6. driver-class-name: com.mysql.cj.jdbc.Driver
  7. #国电考培服务器
  8. url: jdbc:mysql://10.155.32.18:3306/yf_exam?useSSL=false&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true
  9. username: root
  10. password: GYee~123
  11. filters: stat
  12. max-active: 5000
  13. initial-size: 20
  14. max-wait: 6000
  15. min-idle: 1
  16. time-between-eviction-runs-millis: 60000
  17. min-evictable-idle-time-millis: 300000
  18. test-while-idle: true
  19. test-on-borrow: false
  20. test-on-return: false
  21. pool-prepared-statements: true
  22. max-open-prepared-statements: 1000
  23. async-init: true
  24. # Redis配置
  25. redis:
  26. database: 0
  27. #国电考培服务器
  28. host: 10.155.32.18
  29. port: 6379
  30. password: gdnxfd123
  31. timeout: 5000
  32. # 定时任务配置
  33. quartz:
  34. #数据库方式
  35. job-store-type: jdbc
  36. # quartz 相关属性配置
  37. properties:
  38. org:
  39. quartz:
  40. scheduler:
  41. instanceName: examScheduler
  42. instanceId: AUTO
  43. jobStore:
  44. class: org.quartz.impl.jdbcjobstore.JobStoreTX
  45. driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
  46. tablePrefix: qrtz_
  47. isClustered: true
  48. clusterCheckinInterval: 10000
  49. useProperties: false
  50. threadPool:
  51. class: org.quartz.simpl.SimpleThreadPool
  52. threadCount: 10
  53. threadPriority: 5
  54. threadsInheritContextClassLoaderOfInitializingThread: true
  55. # 文档转换
  56. jodconverter:
  57. local:
  58. enabled: true
  59. office-home: C:\Program Files\LibreOffice
  60. max-tasks-per-process: 10
  61. port-numbers: 8100
  62. # 基础配置
  63. ycloud:
  64. # 运行模式,ture为演示/false为正式
  65. demo: false
  66. # false允许用户多处登录,true为T下线
  67. login-tick: false
  68. # 微信登录成功以后,将token推送到这个链接同步登录
  69. login-sync-pc: https://exam.yfhl.net/#/sync/{token}/{roleType}
  70. # 微信登录成功以后,将token推送到这个链接同步登录
  71. login-sync-h5: https://exam-m.yfhl.net/#/pages/login/sync?token={token}
  72. # 微信获取code以后回调此URL
  73. login-redirect: https://exam.yfhl.net/api/common/wx/redirect
  74. # 微信相关配置
  75. wechat:
  76. login:
  77. # 小程序登录appId
  78. mp-app-id:
  79. mp-app-secret:
  80. # 网站登录appId
  81. site-app-id:
  82. site-app-secret:
  83. # 开启文档
  84. swagger:
  85. enable: true
  86. logging:
  87. level:
  88. root: debug
  89. path: logs/${spring.application.name}/
  90. closing-date: 2023-05-19