代码拉取完成,页面将自动刷新
spring:
profiles:
active: dev
---
server:
port: 7001
# spring的配置
spring:
profiles: dev
application:
name: springCloud-config-eureka
#Eureka配置
eureka:
instance:
hostname: localhost #Eureka服务端的实例名称
client:
register-with-eureka: false #表示是否向Eureka注册中心注册自己
fetch-registry: false # fetch-registry如果为false 则表示自己是注册中心
service-url: #监控页面
defaultZone: http://localhost:7002/eureka/,http://localhost:7003/eureka/
---
server:
port: 7001
# spring的配置
spring:
profiles: test
application:
name: springCloud-config-eureka
#Eureka配置
eureka:
instance:
hostname: localhost #Eureka服务端的实例名称
client:
register-with-eureka: false #表示是否向Eureka注册中心注册自己
fetch-registry: false # fetch-registry如果为false 则表示自己是注册中心
service-url: #监控页面
defaultZone: http://localhost:7002/eureka/,http://localhost:7003/eureka/
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。