From 83c81e60bf26c9c1bb6e5f3739b0c26e2cad421c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Sun, 9 Jan 2022 00:01:57 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=8A=BD=E5=8F=96=E7=9B=91=E6=8E=A7?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E9=85=8D=E7=BD=AE=E5=88=B0=20nacos=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=B8=AD=E5=BF=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/ruoyi-monitor.yml | 10 ++++++++++ .../src/main/resources/bootstrap.yml | 17 ----------------- sql/ry_config_20211118.sql | 1 + 3 files changed, 11 insertions(+), 17 deletions(-) create mode 100644 config/ruoyi-monitor.yml diff --git a/config/ruoyi-monitor.yml b/config/ruoyi-monitor.yml new file mode 100644 index 00000000..1512ea88 --- /dev/null +++ b/config/ruoyi-monitor.yml @@ -0,0 +1,10 @@ +# 监控中心配置 +spring: + security: + user: + name: ruoyi + password: 123456 + boot: + admin: + ui: + title: RuoYi-Cloud-Plus服务监控中心 diff --git a/ruoyi-visual/ruoyi-monitor/src/main/resources/bootstrap.yml b/ruoyi-visual/ruoyi-monitor/src/main/resources/bootstrap.yml index cae6f437..02f0341b 100644 --- a/ruoyi-visual/ruoyi-monitor/src/main/resources/bootstrap.yml +++ b/ruoyi-visual/ruoyi-monitor/src/main/resources/bootstrap.yml @@ -25,20 +25,3 @@ spring: group: @nacos.config.group@ # 配置文件格式 file-extension: yml - # 共享配置 - shared-configs: - - data-id: application.${spring.cloud.nacos.config.file-extension} - refresh: true - - data-id: application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} - refresh: true - ---- # 监控中心配置 -spring: - security: - user: - name: ruoyi - password: 123456 - boot: - admin: - ui: - title: 若依服务状态监控 diff --git a/sql/ry_config_20211118.sql b/sql/ry_config_20211118.sql index cca10839..a028b7c3 100644 --- a/sql/ry_config_20211118.sql +++ b/sql/ry_config_20211118.sql @@ -36,6 +36,7 @@ insert into config_info(id, data_id, group_id, content, md5, gmt_create, gmt_mod (2,'application-dev.yml','DEFAULT_GROUP','# 将项目路径:config/下对应文件中内容复制到此处\n','80e38bff4ba7482da62a2803e550f6b2','2019-11-29 16:32:02','2021-11-30 12:04:02','','0:0:0:0:0:0:0:1','','','通用配置开发环境','null','null','yaml','null'), (3,'application-prod.yml','DEFAULT_GROUP','# 将项目路径:config/下对应文件中内容复制到此处\n','1774e05ccf3f4c73a1b9a8b17fde1f2d','2019-11-29 16:33:03','2021-11-30 12:05:03','','0:0:0:0:0:0:0:1','','','通用配置正式环境','null','null','yaml','null'), (4,'sentinel-ruoyi-gateway','DEFAULT_GROUP','# 将项目路径:config/下对应文件中内容复制到此处\n','9f3a3069261598f74220bc47958ec252','2020-11-20 00:00:00','2020-11-20 00:00:00',NULL,'0:0:0:0:0:0:0:1','','','限流策略','null','null','json','null'); +(5,'ruoyi-monitor.yml','DEFAULT_GROUP','# 将项目路径:config/下对应文件中内容复制到此处\n','d8997d0707a2fd5d9fc4e8409da38129','2020-11-20 00:00:00','2020-12-21 16:28:07',NULL,'0:0:0:0:0:0:0:1','','','监控中心','null','null','yaml','null'), /******************************************/