diff --git a/update-service/pom.xml b/update-service/pom.xml index 7c7bbd8..240fb9c 100644 --- a/update-service/pom.xml +++ b/update-service/pom.xml @@ -36,6 +36,10 @@ org.springframework.boot spring-boot-starter-validation + + org.springframework.boot + spring-boot-starter-actuator + io.jsonwebtoken jjwt-api diff --git a/update-service/src/main/resources/application.yml b/update-service/src/main/resources/application.yml index ba4b8f8..3124803 100644 --- a/update-service/src/main/resources/application.yml +++ b/update-service/src/main/resources/application.yml @@ -31,3 +31,12 @@ jwt: update: upload-dir: ${UPDATE_UPLOAD_DIR:/tmp/xuqm-update} base-url: ${UPDATE_BASE_URL:https://update.dev.xuqinmin.com} + +management: + endpoints: + web: + exposure: + include: health,info + endpoint: + health: + show-details: always