Skip to content

Commit

Permalink
config: Actuator 설정 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ChoiWonYu committed Oct 7, 2024
1 parent 25c30e0 commit f26fbd7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ dependencies {
// Swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2'

// Actuator
implementation 'org.springframework.boot:spring-boot-starter-actuator'

// jwt
implementation 'io.jsonwebtoken:jjwt-api:0.12.3'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.3'
Expand Down
4 changes: 4 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ scheduler.pool.size=5
scheduler.threadNamePrefix=Scheduler-
scheduler.awaitTerminationSeconds=30
scheduler.waitForTasksToCompleteOnShutdown=true
# Actuator
management.endpoints.web.exposure.include=health
management.endpoint.health.show-details=always
management.endpoints.web.base-path=${ACTUATOR_BASE_PATH}
# JWT
auth.jwt.secret=${JWT_SECRET}
auth.jwt.expiration=${JWT_EXPIRATION}

0 comments on commit f26fbd7

Please sign in to comment.