|
|
|
|
@ -12,29 +12,29 @@ keepAliveTimeout = "20s" # ping 超时
|
|
|
|
|
maxLifeTime = "2h" |
|
|
|
|
|
|
|
|
|
[etcd] |
|
|
|
|
endpoints = ["10.255.172.128:7079"] |
|
|
|
|
endpoints = ["10.6.0.17:7079"] |
|
|
|
|
username = "" |
|
|
|
|
password = "" |
|
|
|
|
|
|
|
|
|
[consul] |
|
|
|
|
address = "10.255.172.128:8500" |
|
|
|
|
address = "10.6.0.17:8500" |
|
|
|
|
|
|
|
|
|
[nats] |
|
|
|
|
url = "nats://@10.255.172.128:7222" |
|
|
|
|
url = "nats://@10.6.0.17:7222" |
|
|
|
|
|
|
|
|
|
[database.mysql] |
|
|
|
|
logMode = "info" |
|
|
|
|
# https://gorm.io/zh_CN/docs/connecting_to_the_database.html |
|
|
|
|
mysql = { DSN = "root:123456@tcp(10.255.172.128:7306)/sig?charset=utf8&parseTime=True&loc=Local" } |
|
|
|
|
mysql = { DSN = "root:123456@tcp(10.6.0.17:7306)/sig?charset=utf8&parseTime=True&loc=Local" } |
|
|
|
|
|
|
|
|
|
[database.postgres] |
|
|
|
|
logMode = "info" |
|
|
|
|
postgres = { DSN = "host=10.255.172.128 port=5432 user=postgres password=123456 dbname=sig sslmode=disable TimeZone=Asia/Shanghai" } |
|
|
|
|
postgres = { DSN = "host=10.6.0.17 port=5432 user=postgres password=123456 dbname=sig sslmode=disable TimeZone=Asia/Shanghai" } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[database.clickhouse] |
|
|
|
|
# dsn = "clickhouse://user:password@192.168.0.137:9000/game?dial_timeout=10s&read_timeout=20s" |
|
|
|
|
addr = "10.255.172.128:9000" |
|
|
|
|
addr = "10.6.0.17:9000" |
|
|
|
|
database = "sig" |
|
|
|
|
username = "root" |
|
|
|
|
password = "123456" |
|
|
|
|
@ -44,7 +44,7 @@ logsql = true
|
|
|
|
|
logsqlCk = false |
|
|
|
|
|
|
|
|
|
[database.kvrocks] |
|
|
|
|
addr = "10.255.172.128:7666" |
|
|
|
|
addr = "10.6.0.17:7666" |
|
|
|
|
password = "" |
|
|
|
|
minIdleConns = 3 |
|
|
|
|
|
|
|
|
|
@ -52,4 +52,4 @@ minIdleConns = 3
|
|
|
|
|
active = "victoriametrics" |
|
|
|
|
|
|
|
|
|
[tsdb.victoriametrics] |
|
|
|
|
addr = "http://10.255.172.128:8428" |
|
|
|
|
addr = "http://10.6.0.17:8428" |
|
|
|
|
|