File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ dependencies {
3838
3939 // 스프링부트 추가 기능
4040 implementation(" org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7.0" )
41+ implementation(" org.springframework.boot:spring-boot-starter-actuator" )
4142
4243 // 롬복
4344 compileOnly(" org.projectlombok:lombok" )
Original file line number Diff line number Diff line change 1+ server :
2+ port : 8080
3+ forward-headers-strategy : native
14spring :
25 application :
36 name : backend
@@ -33,11 +36,20 @@ spring:
3336 redis :
3437 host : localhost
3538 port : 6379
36-
3739pg :
3840 toss :
3941 clientKey : ${PG_TOSS_CLIENT_KEY}
4042 secretKey : ${PG_TOSS_SECRET_KEY}
41-
4243springdoc :
43- default-produces-media-type : application/json;charset=UTF-8
44+ default-produces-media-type : application/json;charset=UTF-8
45+ management :
46+ endpoints :
47+ web :
48+ base-path : /actuator # 기본값이지만 명시
49+ exposure :
50+ include : health,info # 필요시 metrics 등 추가
51+ endpoint :
52+ health :
53+ probes :
54+ enabled : true # /actuator/health/{liveness,readiness} 활성화
55+ show-details : never # 프로브 용도면 never 권장(민감정보 차단)
You can’t perform that action at this time.
0 commit comments