Spring Cloud(三)spring cloud config+git配置中心

server:
  port: 8000   #注册中心端口是8001

spring:
  application:
    name: spring-cloud-config-server
  cloud:
    config:
      server:
        git:
          uri: https://github.com/chouxin/spring-cloud-config-repo/
          search-paths: config-repo
          username: [email protected]
          password: xxxxxxxx
eureka:
  client:
    service-url:
      defaultZone: http://localhost:8001/eureka/

https://blog.csdn.net/chou342175867/article/details/79667837

猜你喜欢

转载自blog.csdn.net/LONG_Yi_1994/article/details/87273818