From 77a849992e777369672e8d712c6c63f3f47a6510 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期六, 17 六月 2023 00:52:19 +0800
Subject: [PATCH] update 优化 powerjob-server 对接 monitor-admin 监控

---
 ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application-prod.properties |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application-prod.properties b/ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application-prod.properties
index 6316e30..e6a6052 100644
--- a/ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application-prod.properties
+++ b/ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application-prod.properties
@@ -8,9 +8,18 @@
 spring.datasource.core.maximum-pool-size=20
 spring.datasource.core.minimum-idle=5
 
+# 鐩戞帶閰嶇疆
+# 瀹㈡埛绔紑鍏�
+spring.boot.admin.client.enabled=true
+# 璁剧疆 Spring Boot Admin Server 鍦板潃
+spring.boot.admin.client.url: http://localhost:9090/admin
+spring.boot.admin.client.instance.service-host-type=IP
+spring.boot.admin.client.username=ruoyi
+spring.boot.admin.client.password=123456
+
 ####### MongoDB properties(Non-core configuration properties)  #######
 ####### delete mongodb config to disable mongodb #######
-#oms.mongodb.enable=true
+oms.mongodb.enable=false
 #spring.data.mongodb.uri=mongodb+srv://zqq:No1Bug2Please3!@cluster0.wie54.gcp.mongodb.net/powerjob_daily?retryWrites=true&w=majority
 
 ####### Email properties(Non-core configuration properties) #######

--
Gitblit v1.9.3