spring-cloud-Config

引入依赖



    
        spring_cloud_lcn_integration
        com.gsau.spring_cloud
        1.0-SNAPSHOT
    
    4.0.0
    spring_cloud_config
    
        
            org.springframework.cloud
            spring-cloud-config-server
        
    

application.yml

server:
  port: 8081
#绑定远程仓库
spring:
  application:
    name: spring-cloud-config-server-8081
  cloud:
    config:
      server:
        git:
          uri: https://github.com/Spark-shell/microservice-config.git

 

你可能感兴趣的:(Java)