application.yml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. server:
  2. port: 8077
  3. tomcat:
  4. max-connections: 100000
  5. max-http-form-post-size: 102400000
  6. spring:
  7. web:
  8. resources:
  9. static-locations: file:D:\pengj\work\java\practice\src\main\resources\static\
  10. datasource:
  11. name: practice_db
  12. type: com.alibaba.druid.pool.DruidDataSource
  13. druid:
  14. #监控统计拦截的filters
  15. filters: stat
  16. driver-class-name: com.mysql.cj.jdbc.Driver
  17. #基本属性
  18. url: jdbc:mysql://office.bowintek.com:3306/smartSearchDB?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true
  19. #url: jdbc:mysql://office.bowintek.com:3306/practicedb?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true
  20. username: root
  21. password: bowin123
  22. #配置初始化大小/最小/最大
  23. initial-size: 1
  24. min-idle: 1
  25. max-active: 20
  26. #获取连接等待超时时间
  27. max-wait: 60000
  28. #间隔多久进行一次检测,检测需要关闭的空闲连接
  29. time-between-eviction-runs-millis: 60000
  30. #一个连接在池中最小生存的时间
  31. min-evictable-idle-time-millis: 300000
  32. validation-query: SELECT 1
  33. test-while-idle: true
  34. test-on-borrow: false
  35. test-on-return: false
  36. #打开PSCache,并指定每个连接上PSCache的大小。oracle设为true,mysql设为false。分库分表较多推荐设置为false
  37. pool-prepared-statements: false
  38. max-pool-prepared-statement-per-connection-size: 20
  39. servlet:
  40. multipart:
  41. max-request-size: 50MB
  42. max-file-size: 20MB
  43. jackson:
  44. time-zone: GMT+8
  45. cache:
  46. redis:
  47. time-to-live: 60s
  48. type: redis
  49. redis:
  50. host: 192.168.0.68
  51. #host: 39.98.153.250
  52. port: 6379
  53. database: 0
  54. password: bowin123
  55. #password: borD1234
  56. timeout: 10000
  57. lettuce:
  58. pool:
  59. min-idle: 50
  60. max-idle: 100
  61. max-wait: -1
  62. max-active: 100
  63. #shutdown-timeout: 100ms
  64. mvc:
  65. async:
  66. request-timeout: 300000
  67. format:
  68. date: yyyy-MM-dd
  69. date-time: yyyy-MM-dd HH:mm:ss
  70. logging:
  71. config: classpath:logback-spring.xml
  72. mybatis:
  73. mapper-locations: classpath:mapping/*.xml,mapping/cquery/*.xml
  74. type-aliases-package: com.bowintek.practice.model
  75. configuration:
  76. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  77. pagehelper:
  78. helperDialect: mysql
  79. reasonable: true
  80. supportMethodsArguments: true
  81. params: count=countSql
  82. appconfig:
  83. #开发平台设置
  84. isDev: true
  85. uploadfile-url: d:/sitefile
  86. desKey: MMmmHHss
  87. #ftp配置 192.168.0.51:21@aqfxgk:qwe123
  88. #ftp-host: 192.168.0.68
  89. #ftp-port: 21
  90. #ftp-user: FtpUser
  91. #ftp-pwd: bowin123
  92. ftp-host: 39.98.145.11
  93. ftp-port: 21
  94. ftp-user: BowinFtp
  95. ftp-pwd: Ftp!A2019
  96. #定时服务执行配置
  97. jobconfig:
  98. isRunJob: true
  99. major-cron: '0 0 4 1 * ?'
  100. class-cron: '0 0 5 1 * ?'
  101. student-cron: '0 0 6 1 * ?'
  102. teacher-cron: '0 0 7 1 * ?'
  103. #同步教务系统组织结构数据配置
  104. educonfig:
  105. oracledb:
  106. username: sx_grant_view
  107. password: zytec712
  108. url: jdbc:oracle:thin:@//183.56.239.71:1521/edu_gdyfvccm
  109. driver-class-name: oracle.jdbc.OracleDriver
  110. oauthconfig:
  111. oauthUrl: http://open.mh.gdyfvccm.edu.cn:8008
  112. webServiceUrl: https://practice.gdyfvccm.edu.cn:8001/web/index.html#/login
  113. mobileServiceUrl: https://practice.gdyfvccm.edu.cn:8001/mobile
  114. client_id: 2d4a5b3c-dc6c-4231-914c-ca1a4d3a134b
  115. client_secret: e2afdc026c4e745714d2f3b2a2e393686c11f66f