application-hb.yml 2.5 KB

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