Browse Source

修改配置

tuonina 4 years ago
parent
commit
fd28436848

+ 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: