Skip to content

Commit 6cacd47

Browse files
authored
fix: 헬스체크 실패 수정 (#25)
* gradle: 액추에이터 의존성 추가 * config: 헬스체크 엔드포인트 추가
1 parent c7edf2f commit 6cacd47

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ dependencies {
5353

5454
// AWS 자격 증명
5555
implementation 'io.awspring.cloud:spring-cloud-aws-starter'
56+
57+
// 액추에이터 추가
58+
implementation 'org.springframework.boot:spring-boot-starter-actuator'
5659
}
5760

5861
tasks.named('test') {

src/main/resources/application.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,12 @@ spring:
2525
flyway:
2626
enabled: true
2727
baseline-on-migrate: true
28+
29+
management:
30+
endpoints:
31+
web:
32+
exposure:
33+
include: health
34+
endpoint:
35+
health:
36+
show-details: always

0 commit comments

Comments
 (0)