22 lines
676 B
YAML
22 lines
676 B
YAML
server:
|
||
port: 8401
|
||
management: #开启SpringBoot Admin的监控
|
||
endpoints:
|
||
web:
|
||
exposure:
|
||
include: "*" # 暴露xxx端点,如需暴露多个,用,分隔;如需暴露所有端点,用'*'
|
||
enabled-by-default: false
|
||
endpoint:
|
||
health:
|
||
show-details: ALWAYS # 是否展示健康检查详情
|
||
info: # info信息会显示到SpringBootAdmin的server端,这里取的是pom文件中的数据
|
||
version: 1.0-SNAPSHOT
|
||
groupId: com.suisung.mall
|
||
artifactId: mall-auth
|
||
feign:
|
||
okhttp:
|
||
enabled: true
|
||
ribbon:
|
||
ConnectTimeout: 60000 #服务请求连接超时时间(毫秒)
|
||
ReadTimeout: 60000 #服务请求处理超时时间(毫秒)
|