luoynagwei 8 月之前
父节点
当前提交
d29eb0f5bd
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      etc/websocket.release.yaml

+ 4 - 4
etc/websocket.release.yaml

@@ -23,7 +23,7 @@ websocket:
     read_buffer_size: 1024
     # 写消息体最大的 buffer size
     write_buffer_size: 1024
-    nats_url: "nats://10.29.40.221:4333"
+    nats_url: "nats://172.20.0.1:4222"
 
 
 logger:
@@ -35,7 +35,7 @@ logger:
 
 # mysql connection config
 mysql:
-    dsn: "root:7QJARDvYLkkYZGnw@tcp(10.29.113.11:3306)/w303b?charset=utf8mb4&parseTime=true&loc=Local"
+    dsn: "root:7QJARDvYLkkYZGnw@tcp(172.20.0.1:3306)/w303b?charset=utf8mb4&parseTime=true&loc=Local"
     ignore_record_not_found_error: true # Ignore ErrRecordNotFound error for logger
     max_idle_conns: 1000 # 设置空闲连接池中连接的最大数量
     skip_default_transaction: true # Ignore ErrRecordNotFound error for logger
@@ -48,12 +48,12 @@ mysql:
 
 # nats connection config
 nats:
-  addr: "nats://10.29.40.221:4333"
+  addr: "nats://172.20.0.1:4222"
   subject: "clients.message" # 消息通道
 
 # redis connection config
 redis:
-    addr: "10.29.40.221:6379"
+    addr: "172.20.0.1:6379"
     # REDIS_CHANNEL: 'message'
     connect_key: "connects"
     db: 0