Spring Boot Admin enabled default false

This commit is contained in:
MaxKey
2022-10-16 16:13:34 +08:00
parent ad15a08248
commit d2802c186b
2 changed files with 6 additions and 0 deletions

View File

@@ -254,7 +254,10 @@ management.security.enabled =false
management.endpoints.web.exposure.include =*
management.endpoint.health.show-details =ALWAYS
#Spring Boot Admin Client
spring.boot.admin.client.enabled =${SPRING_BOOT_ADMIN_ENABLED:false}
spring.boot.admin.client.url =${SPRING_BOOT_ADMIN_URL:http://127.0.0.1:9528}
spring.boot.admin.client.username =${SPRING_BOOT_ADMIN_USERNAME:}
spring.boot.admin.client.password =${SPRING_BOOT_ADMIN_PASSWORD:}
management.health.redis.enabled =false
management.health.mail.enabled =false

View File

@@ -191,7 +191,10 @@ management.security.enabled =false
management.endpoints.web.exposure.include =*
management.endpoint.health.show-details =ALWAYS
#Spring Boot Admin Client
spring.boot.admin.client.enabled =${SPRING_BOOT_ADMIN_ENABLED:false}
spring.boot.admin.client.url =${SPRING_BOOT_ADMIN_URL:http://127.0.0.1:9528}
spring.boot.admin.client.username =${SPRING_BOOT_ADMIN_USERNAME:}
spring.boot.admin.client.password =${SPRING_BOOT_ADMIN_PASSWORD:}
management.health.redis.enabled =false
management.health.mail.enabled =false