[app] httpPort = 7001 endpointAddress = "127.0.0.1:7001" subjectCacheTopic = "wsgate:subject:" subjectLrcExpiration = "10m" subjectLrcCleanupInterval = "5m" [grpc] address = ":7011" # postal cluster offset port +1000=8011 maxSendMsgSize = "8Mi" maxRecvMsgSize = "8Mi" readBufferSize = "8Ki" writeBufferSize = "8Ki" [grpc.register.attrs] weight = 10 [grpc.keepalive] idleTimeout = "60s" forceCloseWait = "20s" keepAliveInterval = "60s" keepAliveTimeout = "20s" maxLifeTime = "2h" [etcd] endpoints = ["124.222.131.236:3279"] username = "root" password = "sopod@etcd" [redis] Addr = "124.222.131.236:3379" Password = "sopod@redis#" DB = 1 MinIdleConns = 3 [nats] Url = "nats://nats.sopod@124.222.131.236:3222" RetryOnFailedConnect = true [gorm] logMode=true [gorm.mysql] # https://gorm.io/zh_CN/docs/connecting_to_the_database.html DSN = "root:sopod_mysql2347-@tcp(124.222.131.236:3666)/groups?charset=utf8&parseTime=True&loc=Local" [prometheus] enable = false port = 7019