Spring Cloud Config


스프링 클라우드 Config

Local Git Repository


$ ~/Desktop/Work/git-local-repo 디렉토리 생성
$ cd git-local-repo
$ git init
ecommerce.yml 파일 생성
$ git add ecommerce.yml
$ git commit -m "upload an application yaml file"

우선순위

Spring Cloud Config - 프로젝트 생성


ecommerce.yml

token:
  expiration_time: 86400000
  secret: user_token

gateway:
  ip: 192.168.0.4