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
808 B
41 lines
808 B
[app] |
|
aesTokenKey = "9Nz3Y6DES3msAFndz4QsJAECUIFkf+KKaRa+jRnNALk=" |
|
|
|
[grpc] |
|
address = ":7020" |
|
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 |
|
|
|
[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 = 7029
|
|
|