Skip to content

Commit 1b117cc

Browse files
Feat: 헬스 체크 추가
Feat: 헬스 체크 추가
2 parents bd1b9e4 + 31022be commit 1b117cc

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ dependencies {
5050

5151
implementation 'javax.annotation:javax.annotation-api:1.3.2'
5252
implementation 'org.springframework.boot:spring-boot-starter-webmvc'
53+
implementation 'org.springframework.boot:spring-boot-starter-actuator'
5354

5455
compileOnly 'org.projectlombok:lombok'
5556
developmentOnly 'org.springframework.boot:spring-boot-devtools'

src/main/resources/application.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,17 @@ logging:
5252
level:
5353
flipnote.image: DEBUG
5454

55+
management:
56+
endpoints:
57+
web:
58+
exposure:
59+
include: health
60+
endpoint:
61+
health:
62+
probes:
63+
enabled: true
64+
health:
65+
livenessState:
66+
enabled: true
67+
readinessState:
68+
enabled: true

0 commit comments

Comments
 (0)