| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- server:
- port: 8003
- spring:
- datasource:
- url: jdbc:mysql://123.56.214.150:3306/yhc?autoReconnect=true&failOverReadOnly=false&serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8
- driver-class-name: com.mysql.jdbc.Driver
- password: P7pjJ2d6R1FdBMmz
- username: root
- hikari:
- maximum-pool-size: 16
- minimum-idle: 2
- idle-timeout: 10000
- redis:
- host: 123.56.214.150
- port: 6379
- password: bjtdba
- database: 6
- timeout: 5000
- jedis:
- pool:
- # 连接池最大连接数(使用负值表示没有限制)
- max-active: 200
- # 连接池最大阻塞等待时间(使用负值表示没有限制)
- max-wait: -1
- # 连接池中的最大空闲连接
- max-idle: 8
- # 连接池中的最小空闲连接
- min-idle: 0
- mybatis:
- #configuration:
- ## 开启驼峰格式
- #map-underscore-to-camel-case: false
- type-handlers-package: com.bjtdba.userCenter.dao
- # mapper配置文件地址
- mapper-locations: classpath*:/mapper/*.xml
- logging:
- pattern:
- console: "%d - %msg%n"
- level:
- com:
- bjtdba:
- order: DEBUG
- #配置eureka
- eureka:
- client:
- service-url:
- defaultZone: http://127.0.0.1:8000/eureka/
- instance:
- prefer-ip-address: true #使用ip地址注册
|