42Meet / reservation-service

http://42meet.kro.kr
0 stars 0 forks source link

eureka info 띄우기 위한 설정파일 수정 #58

Closed nonalias closed 3 years ago

nonalias commented 3 years ago

actuator/info

image image

eureka는 등록된 service의 정보를 볼 수 있는 페이지를 제공한다.

그 링크는 actuator/info 인데, 설정을 해주어야 볼 수 있다.

build.gradle

implementation 'org.springframework.boot:spring-boot-starter-actuator' 추가해주자.

application.yml

management:
  endpoint:
  endpoints:
    web:
      exposure:
        include: info, health

추가하면 성공적으로 접속할 수 있다. image