Commit a0783fc2 authored by 刘斌's avatar 刘斌

fix: 完善健康检查

parent 7fe073a6
......@@ -24,6 +24,10 @@
<groupId>top.binfast</groupId>
<artifactId>daemon-codegen</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
......
......@@ -29,6 +29,18 @@ spring:
# redisson:
# config: classpath:redisson.yml
--- # Actuator 监控端点的配置项
management:
endpoints:
web:
exposure:
include: health,info,shutdown,logfile
endpoint:
health:
show-details: ALWAYS
logfile:
external-file: ./logs/console.log
# mybaits-plus配置
mybatis-plus:
# MyBatis Mapper所对应的XML文件位置
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment