inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

Jack님의 게시글

Jack Jack

@putstack2102

수강평 작성수
2
평균평점
5.0

게시글 1

질문&답변

Config Server 설정파일 관리방법 질문

선생님 방법 찾았습니다 ! 말씀하신 내용도 해보고 있는데, 제가 설정한 방법은 bootstrap 을 사용했습니다. # bootstrap.yaml spring : application : name : config-manager profiles : active : - dev cloud : config : server : git : uri : github force-pull : true encrypt : enabled : false bootstrap : true encrypt : key-store : alias : EncryptionKey location : file:///${user.home}/encrtypt.jks password : password dependency > groupId > org.springframework.cloud groupId > artifactId > spring-cloud-starter-bootstrap artifactId > version > 3.0.3 version > dependency > bootstrap.yaml 을 사용하고, cloud.config.server.bootstrap 을 `true` 로 설정했습니다. Flag indicating that the config server should initialize its own Environment with properties from the remote repository. Off by default because it delays startup but can be useful when embedding the server in another application. busrefresh 테스트는 uptime 상태에서 config server 의 `/actuator/env` 로 변경되는 설정을 확인했습니다.

좋아요수
1
댓글수
2
조회수
721