You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
822 B
41 lines
822 B
[app] |
|
httpPort = 7002 |
|
endpointAddress = "127.0.0.1:7002" |
|
subjectCacheTopic = "wsgate:subject:" |
|
subjectLrcExpiration = "10m" |
|
subjectLrcCleanupInterval = "5m" |
|
|
|
[grpc] |
|
address = ":7012" |
|
maxSendMsgSize = "8Mi" |
|
maxRecvMsgSize = "8Mi" |
|
readBufferSize = "8Ki" |
|
writeBufferSize = "8Ki" |
|
|
|
[grpc.register.attrs] |
|
weight = 10 |
|
|
|
[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" |
|
|
|
[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
|
|
|