Files
kenaito-lab/demo/app/springboot-jar8/src/main/resources/application.yml
T

27 lines
406 B
YAML

server:
port: ${APP_PORT:8094}
shutdown: graceful
spring:
application:
name: springboot-jar8
lifecycle:
timeout-per-shutdown-phase: 20s
app:
name: springboot-jar8
# 健康检查只需要端口探测,actuator 只暴露 health
management:
endpoints:
web:
exposure:
include: health
endpoint:
health:
show-details: never
logging:
level:
root: INFO