application.yml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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: 10.155.32.4
  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.1.105:1521:gdnxfd
  37. url: jdbc:oracle:thin:@10.83.68.165:1521:gdsj
  38. # url: jdbc:oracle:thin:@49.4.50.80:1521:gdnxfd
  39. # url: jdbc:oracle:thin:@172.168.1.14:1521:gdnxfd
  40. # username: nxfdprod
  41. # password: gdnxfd123
  42. username: gdprod
  43. password: gd123
  44. oracle-schema=:
  45. # type: com.alibaba.druid.pool.DruidDataSource
  46. # url: jdbc:mysql://127.0.0.1:3306/test?characterEncoding=utf8&serverTimezone=UTC
  47. # username: root
  48. # password: root
  49. # driver-class-name: com.mysql.jdbc.Driver
  50. druid:
  51. max-active: 20
  52. initial-size: 1
  53. min-idle: 3
  54. max-wait: 60000
  55. time-between-eviction-runs-millis: 60000
  56. min-evictable-idle-time-millis: 300000
  57. test-while-idle: true
  58. test-on-borrow: false
  59. test-on-return: false
  60. servlet:
  61. multipart:
  62. # 开启 multipart 上传功能
  63. enabled: true
  64. # 文件写入磁盘的阈值
  65. file-size-threshold: 2KB
  66. # 最大文件大小
  67. max-file-size: 200MB
  68. # 最大请求大小
  69. max-request-size: 215MB
  70. mybatis-plus:
  71. configuration:
  72. map-underscore-to-camel-case: true
  73. auto-mapping-behavior: full
  74. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  75. mapper-locations: classpath*:mapper/**/*Mapper.xml
  76. global-config:
  77. # 逻辑删除配置
  78. db-config:
  79. id-type: auto
  80. # 删除前
  81. logic-not-delete-value: 1
  82. # 删除后
  83. logic-delete-value: 0
  84. logging:
  85. level:
  86. root: info
  87. com.example: debug
  88. golden:
  89. baseURL: http://10.155.32.4:8011/ts
  90. url:
  91. benchmaring: http://localhost:8022
  92. analysis: http://localhost:8024