feat 初次提交
This commit is contained in:
31
config/config.dev.yaml
Normal file
31
config/config.dev.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
app:
|
||||
name: "user-dev"
|
||||
|
||||
log:
|
||||
debug: true
|
||||
level: "debug"
|
||||
maxSize: 10
|
||||
maxBackups: 100
|
||||
maxAge: 7
|
||||
|
||||
db:
|
||||
etcd:
|
||||
endpoints: [ "10.0.40.9:2379" ]
|
||||
mysql:
|
||||
user_db:
|
||||
dsn: "root:gR9pV4tY7zR6qL3e@tcp(47.108.184.184:3306)/user_db?charset=utf8mb4&parseTime=True&loc=Local"
|
||||
maxOpenConn: 50
|
||||
maxIdleConn: 20
|
||||
connMaxLifetimeSec: 600
|
||||
connMaxIdleTimeSec: 180
|
||||
logLevel: "warn"
|
||||
redis:
|
||||
addr: "47.108.184.184:6379"
|
||||
password: "lQ7aM8oB6lK0iD5k"
|
||||
db: 0
|
||||
|
||||
serve:
|
||||
grpc:
|
||||
address: "10.0.40.199"
|
||||
port: 8602
|
||||
ttl: 20
|
||||
Reference in New Issue
Block a user