mirror of https://gitee.com/maxjhandsome/pig
优化开发eureka配置
This commit is contained in:
parent
6fa53f0c99
commit
bd29e94bb2
|
@ -23,6 +23,7 @@ eureka:
|
|||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://pig:gip6666@localhost:1025/eureka
|
||||
registry-fetch-interval-seconds: 10
|
||||
|
||||
---
|
||||
spring:
|
||||
|
|
|
@ -22,6 +22,7 @@ eureka:
|
|||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://pig:gip6666@localhost:1025/eureka
|
||||
registry-fetch-interval-seconds: 10
|
||||
|
||||
---
|
||||
spring:
|
||||
|
|
|
@ -17,7 +17,7 @@ eureka:
|
|||
fetch-registry: false
|
||||
register-with-eureka: false
|
||||
serviceUrl:
|
||||
defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/
|
||||
defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/
|
||||
instance:
|
||||
hostname: localhost
|
||||
server: #配置属性,但由于 Eureka 自我保护模式以及心跳周期长的原因,经常会遇到 Eureka Server 不剔除已关停的节点的问题
|
||||
|
|
|
@ -22,6 +22,7 @@ eureka:
|
|||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://pig:gip6666@localhost:1025/eureka
|
||||
registry-fetch-interval-seconds: 10
|
||||
#认证服务器地址
|
||||
security:
|
||||
auth:
|
||||
|
|
|
@ -22,6 +22,7 @@ eureka:
|
|||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://pig:gip6666@localhost:1025/eureka
|
||||
registry-fetch-interval-seconds: 10
|
||||
|
||||
---
|
||||
spring:
|
||||
|
|
|
@ -22,6 +22,7 @@ eureka:
|
|||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://pig:gip6666@localhost:1025/eureka
|
||||
registry-fetch-interval-seconds: 10
|
||||
|
||||
---
|
||||
spring:
|
||||
|
|
|
@ -23,6 +23,7 @@ eureka:
|
|||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://pig:gip6666@localhost:1025/eureka
|
||||
registry-fetch-interval-seconds: 10
|
||||
|
||||
---
|
||||
spring:
|
||||
|
|
|
@ -22,6 +22,7 @@ eureka:
|
|||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://pig:gip6666@localhost:1025/eureka
|
||||
registry-fetch-interval-seconds: 10
|
||||
|
||||
---
|
||||
spring:
|
||||
|
|
|
@ -23,6 +23,7 @@ eureka:
|
|||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://pig:gip6666@localhost:1025/eureka
|
||||
registry-fetch-interval-seconds: 10
|
||||
|
||||
---
|
||||
spring:
|
||||
|
|
|
@ -23,6 +23,7 @@ eureka:
|
|||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://pig:gip6666@localhost:1025/eureka
|
||||
registry-fetch-interval-seconds: 10
|
||||
|
||||
---
|
||||
spring:
|
||||
|
|
Loading…
Reference in New Issue