gemercheung %!s(int64=3) %!d(string=hai) anos
pai
achega
5714bd8b57
Modificáronse 2 ficheiros con 9 adicións e 14 borrados
  1. 7 7
      config.production.yaml
  2. 2 7
      config.production1.yaml

+ 7 - 7
config.production.yaml

@@ -23,12 +23,12 @@ redis:
   decode_responses: true
   db: 9
 
-queueRedis:
-  port: 6379
-  host: '127.0.0.1' #远程调试需要设置bindip 为0.0.0.0 并且设置密码
-  password: 'sxz123321SxZ@' # 非远程不需要密码
-  decode_responses: true
-  db: 14
+# queueRedis:
+#   port: 6379
+#   host: '127.0.0.1' #远程调试需要设置bindip 为0.0.0.0 并且设置密码
+#   password: 'sxz123321SxZ@' # 非远程不需要密码
+#   decode_responses: true
+#   db: 14
 
 # redis:
 #   port: 6379
@@ -38,7 +38,7 @@ queueRedis:
 #   db: 9
 
 stun:
-  server: ['stun:172.18.156.41:3478', 'stun:120.24.252.95:3478']
+  server: ['stun:120.24.252.95:3478', 'stun:120.24.252.95:3478']
   portRangeBegin: 52000
   portRangeEnd: 53000
 

+ 2 - 7
config.production1.yaml

@@ -1,4 +1,3 @@
-
 app:
   prefix: /mnt/metaverse/scene
 
@@ -6,12 +5,10 @@ queueConfig:
   move: 10
   rotate: 5
 
-
 http:
   host: '0.0.0.0'
   port: 6688
 
-
 grpc:
   url: '221.4.210.172:23000'
 # grpc:
@@ -32,17 +29,15 @@ redis:
 # server: ['stun:47.107.125.202:3478','stun:120.24.252.95:3478']
 #  server: ['stun:4dage:4dage168@47.107.125.202:3478','stun:120.24.252.95:3478']
 stun:
-  server: ['stun:4dage:4dage168@47.107.125.202:3478']
+  server: ['stun:4dage:4dage168@47.107.125.202:3478', 'stun:120.24.252.95:3478']
   portRangeBegin: 50000
   portRangeEnd: 55000
 
 server:
   private_ip: 172.18.144.42
   public_ip: 47.107.125.202
-
-
 # PRIVATE_IP=172.18.197.114
 # PUBLIC_IP=120.24.252.95
 # STUNS_SEVER="stun:172.18.156.41:3478,stun:120.24.252.95:3478"
 # GRPC_URL="192.168.0.48:3000"
-# REDIS_URL="redis://:192.168.0.47:6379/9"
+# REDIS_URL="redis://:192.168.0.47:6379/9"