질문&답변
configserver 설정에러
// configserver가 개발자나 프로그램으로부터 요청을 받을수 있는 엔드포인트를 만들어주는 라이브러리 implementation 'org.springframework.boot:spring-boot-starter-actuator' application.yaml # config 서버이고, 어떤 repo를 바라볼지 설정 server: port: 8888 spring: rabbitmq: host: localhost port: 5672 username: guest password: guest cloud: config: server: git: uri: https://github.com/ppsn2615/spring_cloud_configs.git clone-on-start: true # main branch default-label: main # 만약 private repo일 경우에는 토큰을 발급받음 # username: github 사용자명 # password: 토큰값 bus: enabled: true # actuator 관련 설정, 어떤 엔드포인트를 사용할지에 대한 설정. management: endpoints: web: exposure: # config 서버가 제공해주는 endpoint, busrefresh를 통해 실시간 config 정보 갱신 include: busrefresh, health # env, info, refresh 등도 활용가능 이렇게 설정했어요
- 좋아요수
- 0
- 댓글수
- 2
- 조회수
- 66





