微服务运行注册eureka配置

bootstrap.yml

server.port: 8888
spring:
  application.name: user-domain
  cloud.config.name: user-domain
  http.multipart.max-file-size: 100000KB
  http.multipart.max-request-size: 100000KB

  #  profiles.active: dev
  profiles.active: test
  #profiles.active: train
eureka.client.serviceUrl:
  #  defaultZone: http://127.0.0.1:8761/eureka  
  defaultZone: http://127.0.0.2:8761/eureka  
  #defaultZone: http://127.0.0.3:8761/eureka  

  

posted @ 2021-06-29 09:38  表演给自己看的认真  阅读(57)  评论(0编辑  收藏  举报