1 Star 0 Fork 0

沬尽 / test-springcloud-config

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
provider-dev.properties 571 Bytes
Copy Edit Web IDE Raw Blame History
沬尽 authored 2021-01-06 13:47 . update provider-dev.properties.
# 应用名称 会在eureka中作为服务的id(serviceId)
spring.application.name=springcloud-eureka-provider
server.port=9091
# 服务注册的地址
eureka.client.service-url.defaultZone=http://localhost:10086/eureka
# 更倾向使用ip地址,而不是host名(localhost)
eureka.instance.prefer-ip-address=true
# ip地址
eureka.instance.ip-address=127.0.0.1
# 续约间隔,默认30秒
eureka.instance.lease-renewal-interval-in-seconds=5
# 服务失效时间,默认90秒
eureka.instance.lease-expiration-duration-in-seconds=5
user.name=zhangsan-1

Comment ( 0 )

Sign in for post a comment

Java
1
https://gitee.com/ly0613/test-springcloud-config.git
git@gitee.com:ly0613/test-springcloud-config.git
ly0613
test-springcloud-config
test-springcloud-config
master

Search