bootstrap.yml 589 字节
Newer Older
Q
qinyingjie 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#端口号,指定端口,不然默认是8080,会出现冲突
server:
  port: 8081

spring:
  cloud:
    config:
      fail-fast: false     #客户端连接失败时开启重试,需要结合spring-retry、spring-aop
      label: main          #获取配置文件的分支名
      name: application-portal8081       #获取的文件名
      profile: portal8081       #文件后缀
      uri: http://localhost:7001  #配置中心服务端地址
eureka:
  client:
    service-url:
      defaultZone: http://eureka8767:8767/eureka/,http://eureka8768:8768/eureka/,http://eureka8769:8769/eureka/