浏览代码

修改配置

tuonina 4 年之前
父节点
当前提交
fd28436848
共有 2 个文件被更改,包括 12 次插入14 次删除
  1. 8 7
      eureka-web/src/main/resources/application-dev.yml
  2. 4 7
      eureka-web/src/main/resources/application-sit.yml

+ 8 - 7
eureka-web/src/main/resources/application-dev.yml

@@ -9,17 +9,18 @@ spring:
 
   rabbitmq:
     username: tuonq
-    password: tuonq520
+    password: tuonq1234
     host: 10.8.0.1
     port: 5672
   redis:
-    cluster:
+#    cluster:
+#      nodes:
+#        - 10.8.0.1:6379
+#        - 10.8.0.1:6377
+    sentinel:
+      master: tuonq
       nodes:
-        - 10.8.0.1:6379
-        - 10.8.0.1:6377
-#    sentinel:
-#      master: tuonq
-#      nodes: 10.8.0.1:26379
+        - 10.8.0.1:26379
 
 
 eureka:

+ 4 - 7
eureka-web/src/main/resources/application-sit.yml

@@ -11,17 +11,14 @@ spring:
 
   rabbitmq:
     username: tuonq
-    password: tuonq520
+    password: tuonq1234
     host: 10.8.0.1
     port: 5672
   redis:
-    cluster:
+    sentinel:
+      master: tuonq
       nodes:
-        - 10.8.0.1:6379
-        - 10.8.0.1:6377
-#    sentinel:
-#      master: tuonq
-#      nodes: tuonq_sentinel:26379
+        - 10.8.0.1:26379
 
 eureka:
   instance: