Browse Source

fix 修复 ruoyi-xxl-job-admin 服务健康检查配置缺失问题

疯狂的狮子li 3 years ago
parent
commit
feb9c14155
1 changed files with 9 additions and 0 deletions
  1. 9 0
      config/dev/ruoyi-xxl-job-admin.yml

+ 9 - 0
config/dev/ruoyi-xxl-job-admin.yml

@@ -41,6 +41,15 @@ management:
   health:
   health:
     mail:
     mail:
       enabled: false
       enabled: false
+  endpoints:
+    web:
+      exposure:
+        include: '*'
+  endpoint:
+    health:
+      show-details: ALWAYS
+    logfile:
+      external-file: ./logs/${spring.application.name}/console.log
 
 
 # xxljob系统配置
 # xxljob系统配置
 xxl:
 xxl: