Преглед изворни кода

Merge branch 'master' of http://git.zonelife.cn:3001/IT/MicroService

lianshufeng пре 1 година
родитељ
комит
710be6a6e0

+ 4 - 2
centers/AuthCenter/AuthServer/src/main/resources/application-dev.yml

@@ -6,7 +6,9 @@ spring:
         prefer-ip-address: false
   data:
     mongodb:
-      uri: mongodb://auth:auth@172.24.50.53:27017,172.24.50.53:27018,172.24.50.53:27019/auth
+      uri: mongodb://root:8756mongo2024@172.24.50.53:27017,172.24.50.53:27018,172.24.50.53:27019/auth?authSource=admin
+#      uri: mongodb://admin:admin123@192.168.0.104:37047,192.168.0.104:47037,192.168.0.104:37027/auth?replicaSet=rs
+#      uri: mongodb://auth:auth@172.24.50.53:27017,172.24.50.53:27018,172.24.50.53:27019/auth
       auto-index-creation: true
     redis:
       host: 172.24.50.53
@@ -74,4 +76,4 @@ logging:
           core:
             runner: debug
 
-#    org.springframework.security: trace
+#    org.springframework.security: trace

+ 6 - 4
centers/AuthCenter/AuthServer/src/main/resources/application-local.yml

@@ -5,13 +5,15 @@ spring:
         - 192.168
   data:
     mongodb:
-      uri: mongodb://root:8756mongo2024@127.0.0.1:27017,127.0.0.1:27018,127.0.0.1:27019/auth?authSource=admin
+#      uri: mongodb://root:8756mongo2024@172.24.50.53:27017,172.24.50.53:27018,172.24.50.53:27019/auth?authSource=admin
+      uri: mongodb://admin:admin123@192.168.0.104:37047,192.168.0.104:47037,192.168.0.104:37027/auth?replicaSet=rs
+#      uri: mongodb://root:8756mongo2024@127.0.0.1:27017,127.0.0.1:27018,127.0.0.1:27019/auth?authSource=admin
       auto-index-creation: true
     redis:
       host: 127.0.0.1
-      port: 6379
+      port: 6378
       database: 2
-      password: 8756redis2024
+#      password: 8756redis2024
 
 
 
@@ -73,4 +75,4 @@ logging:
           core:
             runner: debug
 
-#    org.springframework.security: trace
+#    org.springframework.security: trace