application.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. server:
  2. port: 8020
  3. servlet:
  4. context-path: /
  5. spring:
  6. main:
  7. allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
  8. #redis集群
  9. redis:
  10. # host: 10.83.68.94
  11. host: 192.168.2.202
  12. port: 6379
  13. timeout: 100000
  14. # 集群环境打开下面注释,单机不需要打开
  15. # cluster:
  16. # 集群信息
  17. # nodes: xxx.xxx.xxx.xxx:xxxx,xxx.xxx.xxx.xxx:xxxx,xxx.xxx.xxx.xxx:xxxx
  18. # #默认值是5 一般当此值设置过大时,容易报:Too many Cluster redirections
  19. # maxRedirects: 3
  20. password:
  21. application:
  22. name: test
  23. jedis:
  24. pool:
  25. max-active: 8
  26. min-idle: 0
  27. max-idle: 8
  28. max-wait: -1
  29. database: 1
  30. autoconfigure:
  31. exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
  32. datasource:
  33. type: com.alibaba.druid.pool.DruidDataSource
  34. driver-class-name: oracle.jdbc.OracleDriver
  35. #外网
  36. url: jdbc:oracle:thin:@192.168.2.215:1521:gdsj
  37. # url: jdbc:oracle:thin:@10.83.68.165:1521:gdsj
  38. username: gdprod
  39. password: gd123
  40. oracle-schema=:
  41. druid:
  42. max-active: 20
  43. initial-size: 1
  44. min-idle: 3
  45. max-wait: 60000
  46. time-between-eviction-runs-millis: 60000
  47. min-evictable-idle-time-millis: 300000
  48. test-while-idle: true
  49. test-on-borrow: false
  50. test-on-return: false
  51. servlet:
  52. multipart:
  53. # 开启 multipart 上传功能
  54. enabled: true
  55. # 文件写入磁盘的阈值
  56. file-size-threshold: 2KB
  57. # 最大文件大小
  58. max-file-size: 200MB
  59. # 最大请求大小
  60. max-request-size: 215MB
  61. mybatis-plus:
  62. configuration:
  63. map-underscore-to-camel-case: true
  64. auto-mapping-behavior: full
  65. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  66. mapper-locations: classpath*:mapper/**/*Mapper.xml
  67. global-config:
  68. # 逻辑删除配置
  69. db-config:
  70. id-type: auto
  71. # 删除前
  72. logic-not-delete-value: 1
  73. # 删除后
  74. logic-delete-value: 0
  75. logging:
  76. level:
  77. root: info
  78. com.example: debug
  79. url:
  80. benchmaring: http://192.168.2.216:8081
  81. analysis: http://192.168.2.216:8082