From 687b30d70fae323dcf3e9173293920bf9b943730 Mon Sep 17 00:00:00 2001 From: zhangbin1010 <391289241@qq.com> Date: Thu, 10 Oct 2019 11:33:41 +0800 Subject: [PATCH] =?UTF-8?q?[Upgrade]=20=E6=9B=B4=E6=96=B0=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/admin-server/README.md | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/common/admin-server/README.md b/common/admin-server/README.md index 881be52b..e2838fd2 100644 --- a/common/admin-server/README.md +++ b/common/admin-server/README.md @@ -1,13 +1,20 @@ -### workflow-server +### admin-server 监控服务,使用 Spring Boot Admin 通过 eureka 监控所有服务的健康状况 ##### 一、说明 - 1、该服务不依赖任何自主开发的包,也不使用oauth2、bus、配置中心、日志服务等其他服务,网关路由不做配置,不暴露给前端 - 2、该服务有单独的安全验证,不加入到oauth2体系中,用户名和密码在[application.prod.yml](/application-prod.yml)中如下配置 ```yaml - eureka: - instance: - metadata-map: - user.name: admin - user.password: 888888 + spring: + security: + user: + name: admin + password: 888888 + cloud: + nacos: + discovery: + ip: ${server.address} + metadata: + user.name: ${spring.security.user.name} + user.password: ${spring.security.user.password} ``` \ No newline at end of file