feat 端口修改
This commit is contained in:
@@ -8,6 +8,13 @@ log:
|
||||
maxBackups: 100
|
||||
maxAge: 7
|
||||
|
||||
metric:
|
||||
prometheus:
|
||||
address: "0.0.0.0"
|
||||
port: 18801
|
||||
jaeger:
|
||||
endpoint: "47.108.184.184:4317"
|
||||
|
||||
db:
|
||||
etcd:
|
||||
endpoints: [ "10.0.40.9:2379" ]
|
||||
@@ -27,7 +34,7 @@ db:
|
||||
serve:
|
||||
grpc:
|
||||
address: "10.0.40.199"
|
||||
port: 8602
|
||||
port: 18800
|
||||
ttl: 20
|
||||
|
||||
wxMini:
|
||||
|
||||
@@ -5,10 +5,11 @@ import "git.hlsq.asia/mmorpg/service-common/config"
|
||||
const path = "./config"
|
||||
|
||||
type Config struct {
|
||||
App *config.AppConfig `yaml:"app"`
|
||||
Log *config.LogConfig `yaml:"log"`
|
||||
DB *config.DBConfig `yaml:"db"`
|
||||
Serve *config.ServeConfig `yaml:"serve"`
|
||||
App *config.AppConfig `yaml:"app"`
|
||||
Log *config.LogConfig `yaml:"log"`
|
||||
Metric *config.MetricConfig `yaml:"metric"`
|
||||
DB *config.DBConfig `yaml:"db"`
|
||||
Serve *config.ServeConfig `yaml:"serve"`
|
||||
WxMini *struct {
|
||||
AppID string `yaml:"appid"`
|
||||
Secret string `yaml:"secret"`
|
||||
|
||||
@@ -8,6 +8,13 @@ log:
|
||||
maxBackups: 100
|
||||
maxAge: 7
|
||||
|
||||
metric:
|
||||
prometheus:
|
||||
address: "0.0.0.0"
|
||||
port: 18801
|
||||
jaeger:
|
||||
endpoint: "172.18.28.0:4317"
|
||||
|
||||
db:
|
||||
etcd:
|
||||
endpoints: [ "172.18.28.0:2379" ]
|
||||
@@ -27,7 +34,7 @@ db:
|
||||
serve:
|
||||
grpc:
|
||||
address: "172.18.28.0"
|
||||
port: 8602
|
||||
port: 18800
|
||||
ttl: 20
|
||||
|
||||
wxMini:
|
||||
|
||||
Reference in New Issue
Block a user