application-jn.yml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. # 项目相关配置
  2. gyee:
  3. #实时数据库Url
  4. baseurl: http://10.81.3.160:8011/ts
  5. healthurl: http://10.81.3.160:8011/ts
  6. #实时数据库选择
  7. realtimedataBase: golden #数据查询模式 golden、hwy
  8. initialcode: INITIAL
  9. firstIntegratedTime: 2000-05-13
  10. server:
  11. port: 8162
  12. servlet:
  13. context-path: /
  14. management:
  15. health:
  16. redis:
  17. enabled: false
  18. mybatis-plus:
  19. configuration:
  20. map-underscore-to-camel-case: true
  21. auto-mapping-behavior: full
  22. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  23. mapper-locations: classpath*:mapper/**/*Mapper.xml
  24. global-config:
  25. # 逻辑删除配置
  26. db-config:
  27. id-type: auto
  28. # 删除前
  29. logic-not-delete-value: 1
  30. # 删除后
  31. logic-delete-value: 0
  32. spring:
  33. main:
  34. allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
  35. redis:
  36. #host: 127.0.0.1
  37. host: 10.81.3.155
  38. port: 6379
  39. timeout: 100000
  40. # 集群环境打开下面注释,单机不需要打开
  41. # cluster:
  42. # #集群信息
  43. # nodes: 10.83.68.151:6379,10.83.68.152:6379,10.83.68.153:6379,10.83.68.154:6379,10.83.68.155:6379,10.83.68.156:6379,10.83.68.157:6379,10.83.68.158:6379,10.83.68.159:6379
  44. # #默认值是5 一般当此值设置过大时,容易报:Too many Cluster redirections
  45. # maxRedirects: 3
  46. password:
  47. application:
  48. name: test
  49. jedis:
  50. pool:
  51. max-active: 8
  52. min-idle: 0
  53. max-idle: 8
  54. max-wait: -1
  55. database: 9
  56. autoconfigure:
  57. exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
  58. datasource:
  59. type: com.alibaba.druid.pool.DruidDataSource
  60. dynamic:
  61. primary: master #设置默认的数据源或者数据源组,默认值即为master
  62. strict: false #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源
  63. datasource:
  64. master:
  65. url: jdbc:postgresql://10.81.3.151:5432/IMS_NEM_JN
  66. username: postgres
  67. password: postgres
  68. driver-class-name: org.postgresql.Driver
  69. slave:
  70. url: jdbc:postgresql://10.81.3.151:5432/wisdom
  71. username: postgres
  72. password: gd123
  73. driver-class-name: org.postgresql.Driver
  74. druid:
  75. max-active: 20
  76. initial-size: 1
  77. min-idle: 3
  78. max-wait: 60000
  79. time-between-eviction-runs-millis: 60000
  80. min-evictable-idle-time-millis: 300000
  81. test-while-idle: true
  82. test-on-borrow: false
  83. test-on-return: false
  84. servlet:
  85. multipart:
  86. # 开启 multipart 上传功能
  87. enabled: true
  88. # 文件写入磁盘的阈值
  89. file-size-threshold: 2KB
  90. # 最大文件大小
  91. max-file-size: 200MB
  92. # 最大请求大小
  93. max-request-size: 215MB
  94. logging:
  95. level:
  96. root: info
  97. com.example: debug
  98. edos:
  99. baseURL: http://10.0.118.73:8011/ts