Skip to content

Commit a451407

Browse files
authored
Merge pull request #116 from SWU-Elixir/feat/114-health-check
chore: health check를 위한 의존성 및 설정 추가
2 parents 5d858b3 + a966b35 commit a451407

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ dependencies {
6060
// mail
6161
implementation 'org.springframework.boot:spring-boot-starter-mail'
6262
implementation 'org.springframework:spring-context-support'
63+
64+
// health check
65+
implementation "org.springframework.boot:spring-boot-starter-actuator"
6366
}
6467

6568
tasks.named('test') {

src/main/resources/application-prod.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,6 @@ openai.secret-key=${OPENAI_SECRETKEY}
7272
# naver
7373
naver.id={NAVER_ID}
7474
naver.password=[NAVER_PW}
75+
76+
# health check
77+
management.endpoints.web.exposure.include=health

0 commit comments

Comments
 (0)