1 Star 0 Fork 0

Mr_Chs / comfig-center

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
user-dev.yml 666 Bytes
一键复制 编辑 原始数据 按行查看 历史
Mr_Chs 提交于 2019-08-08 18:42 . 更新 user-dev.yml
server:
port: ${port:9091}
spring:
datasource:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/springcloud
username: root
password: root
application:
name: user-service
mybatis:
type-aliases-package: com.haha.user.pojo
eureka:
client:
service-url:
defaultZone: http://localhost:10086/eureka
instance:
# ip注册服务
ip-address: 127.0.0.1
prefer-ip-address: true #更倾向于ip注册而不是host名
#服务续约
lease-expiration-duration-in-seconds: 90 # 失效时间
lease-renewal-interval-in-seconds: 30 #续约时间 心跳0
test:
name: naruto
Java
1
https://gitee.com/c2279597756/comfig-center.git
git@gitee.com:c2279597756/comfig-center.git
c2279597756
comfig-center
comfig-center
master

搜索帮助