application-hb.yml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. server:
  2. port: 8091
  3. servlet:
  4. context-path: /
  5. spring:
  6. main:
  7. allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
  8. #redis集群
  9. redis:
  10. host: 192.168.2.202
  11. # host: 10.83.68.94
  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: 19
  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:@10.83.68.165:1521:gdsj
  37. url: jdbc:oracle:thin:@192.168.2.215:1521:gdsj
  38. username: gdprod
  39. password: gd123
  40. oracle-schema=:
  41. # type: com.alibaba.druid.pool.DruidDataSource
  42. # url: jdbc:mysql://127.0.0.1:3306/test?characterEncoding=utf8&serverTimezone=UTC
  43. # username: root
  44. # password: root
  45. # driver-class-name: com.mysql.jdbc.Driver
  46. druid:
  47. max-active: 20
  48. initial-size: 1
  49. min-idle: 3
  50. max-wait: 60000
  51. time-between-eviction-runs-millis: 60000
  52. min-evictable-idle-time-millis: 300000
  53. test-while-idle: true
  54. test-on-borrow: false
  55. test-on-return: false
  56. servlet:
  57. multipart:
  58. # 开启 multipart 上传功能
  59. enabled: true
  60. # 文件写入磁盘的阈值
  61. file-size-threshold: 2KB
  62. # 最大文件大小
  63. max-file-size: 200MB
  64. # 最大请求大小
  65. max-request-size: 215MB
  66. mybatis-plus:
  67. configuration:
  68. map-underscore-to-camel-case: true
  69. auto-mapping-behavior: full
  70. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  71. mapper-locations: classpath*:mapper/**/*Mapper.xml
  72. global-config:
  73. # 逻辑删除配置
  74. db-config:
  75. id-type: auto
  76. # 删除前
  77. logic-not-delete-value: 1
  78. # 删除后
  79. logic-delete-value: 0
  80. logging:
  81. level:
  82. root: info
  83. com.example: debug
  84. golden:
  85. baseURL: http://192.168.2.205:8011/ts