# 项目相关配置 gyee: #实时数据库Url baseurl: http://10.81.3.160:8011/ts healthurl: http://10.81.3.160:8011/ts #实时数据库选择 realtimedataBase: golden #数据查询模式 golden、hwy initialcode: INITIAL firstIntegratedTime: 2000-05-13 server: port: 8162 servlet: context-path: / management: health: redis: enabled: false mybatis-plus: configuration: map-underscore-to-camel-case: true auto-mapping-behavior: full log-impl: org.apache.ibatis.logging.stdout.StdOutImpl mapper-locations: classpath*:mapper/**/*Mapper.xml global-config: # 逻辑删除配置 db-config: id-type: auto # 删除前 logic-not-delete-value: 1 # 删除后 logic-delete-value: 0 spring: main: allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册 redis: #host: 127.0.0.1 host: 10.81.3.155 port: 6379 timeout: 100000 # 集群环境打开下面注释,单机不需要打开 # cluster: # #集群信息 # 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 # #默认值是5 一般当此值设置过大时,容易报:Too many Cluster redirections # maxRedirects: 3 password: application: name: test jedis: pool: max-active: 8 min-idle: 0 max-idle: 8 max-wait: -1 database: 9 autoconfigure: exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration datasource: type: com.alibaba.druid.pool.DruidDataSource dynamic: primary: master #设置默认的数据源或者数据源组,默认值即为master strict: false #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源 datasource: master: url: jdbc:postgresql://10.81.3.151:5432/IMS_NEM_JN username: postgres password: postgres driver-class-name: org.postgresql.Driver slave: url: jdbc:postgresql://10.81.3.151:5432/wisdom username: postgres password: gd123 driver-class-name: org.postgresql.Driver druid: max-active: 20 initial-size: 1 min-idle: 3 max-wait: 60000 time-between-eviction-runs-millis: 60000 min-evictable-idle-time-millis: 300000 test-while-idle: true test-on-borrow: false test-on-return: false servlet: multipart: # 开启 multipart 上传功能 enabled: true # 文件写入磁盘的阈值 file-size-threshold: 2KB # 最大文件大小 max-file-size: 200MB # 最大请求大小 max-request-size: 215MB logging: level: root: info com.example: debug edos: baseURL: http://10.0.118.73:8011/ts