feat:【infra】spring boot admin 默认需要登录

This commit is contained in:
YunaiV
2025-12-27 10:29:42 +08:00
parent c93f2ac2a4
commit be65f9cf97
36 changed files with 206 additions and 8 deletions

View File

@@ -107,6 +107,8 @@ spring:
client:
instance:
service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]
username: admin
password: admin
# Spring Boot Admin Server 服务端的相关配置
context-path: /admin # 配置 Spring

View File

@@ -118,6 +118,8 @@ spring:
client:
instance:
service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]
username: admin
password: admin
# 日志文件配置
logging: