기존의 Config 파일을 설정 파일의 주소를 입력하여 연결시켜놨는데,
이를 Git Repository의 주소로 변경

config-service
spring:
application:
name: config-service
cloud:
config:
server:
git:
# uri: file://C:\Users\admin\yyyy << 기존
uri: https://github.com/xxx/xxx <<git 주소 (.git은 삭제)
search-paths: #특정 디렉터리 설정
- 'config-files' #디텍터리명
- '{application}'
server:
port: 8888
URI 찾는 방법
1. 해당하는 git Repository에 접속
🔗 링크: https://github.com/
2.<> Code클릭 -> 복사 버튼 클릭
127.0.0.1:8888/ecommerce/dev 실행
-> name 부분에 설정 파일이 담긴 경로가 출력됨