Browse Source

fix:spring admin 集成上线应用

lihao16 2 months ago
parent
commit
029f2e17fd

+ 2 - 2
smsb-admin/src/main/resources/application-prod.yml

@@ -1,8 +1,8 @@
 --- # 监控中心配置
 spring.boot.admin.client:
   # 增加客户端开关
-  enabled: false
-  url: http://localhost:9090/admin
+  enabled: true
+  url: http://localhost:9095/admin
   instance:
     service-host-type: IP
     metadata:

+ 2 - 2
smsb-extend/smsb-monitor-admin/src/main/resources/application.yml

@@ -1,5 +1,5 @@
 server:
-  port: 9090
+  port: 9095
 spring:
   application:
     name: smsb-monitor-admin
@@ -41,7 +41,7 @@ spring.boot.admin.client:
   # 增加客户端开关
   enabled: true
   # 设置 Spring Boot Admin Server 地址
-  url: http://localhost:9090/admin
+  url: http://localhost:9095/admin
   instance:
     service-host-type: IP
     metadata:

+ 2 - 2
smsb-extend/smsb-snailjob-server/src/main/resources/application-dev.yml

@@ -41,8 +41,8 @@ snail-job:
 --- # 监控中心配置
 spring.boot.admin.client:
   # 增加客户端开关
-  enabled: false
-  url: http://localhost:9090/admin
+  enabled: true
+  url: http://localhost:9095/admin
   instance:
     service-host-type: IP
     metadata: