inflearn logo
Khóa học

Khóa học

Chia sẻ kiến thức

Bài viết của Jack

Jack Jack

@putstack2102

Số lượng đánh giá đã viết
2
Xếp hạng trung bình
5.0

Bài viết 1

Hỏi & Đáp

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` 로 변경되는 설정을 확인했습니다.

Lượt thích
1
Số bình luận
2
Lượt xem
718