This commit is contained in:
dute7liang
2024-01-28 16:24:40 +08:00
parent afa28e5039
commit 76cfa50e5e
12 changed files with 61 additions and 47 deletions

View File

@@ -1,12 +1,12 @@
--- # 监控中心配置
spring.boot.admin.client:
# 增加客户端开关
enabled: true
url: http://localhost:9090/admin
instance:
service-host-type: IP
username: ruoyi
password: 123456
#spring.boot.admin.client:
# # 增加客户端开关
# enabled: true
# url: http://localhost:9090/admin
# instance:
# service-host-type: IP
# username: ruoyi
# password: 123456
--- # xxl-job 配置
xxl.job:

View File

@@ -2,14 +2,14 @@
spring.servlet.multipart.location: /ruoyi/server/temp
--- # 监控中心配置
spring.boot.admin.client:
# 增加客户端开关
enabled: false
url: http://localhost:9090/admin
instance:
service-host-type: IP
username: ruoyi
password: 123456
#spring.boot.admin.client:
# # 增加客户端开关
# enabled: false
# url: http://localhost:9090/admin
# instance:
# service-host-type: IP
# username: ruoyi
# password: 123456
--- # xxl-job 配置
xxl.job:

View File

@@ -244,11 +244,12 @@ lock4j:
--- # Actuator 监控端点的配置项
management:
endpoints:
web:
exposure:
include: '*'
endpoint:
health:
show-details: ALWAYS
logfile:
external-file: ./logs/sys-console.log
enabled-by-default: false
# web:
# exposure:
# include: '*'
# endpoint:
# health:
# show-details: ALWAYS
# logfile:
# external-file: ./logs/sys-console.log