feat user服部署

This commit is contained in:
2025-12-20 21:00:24 +08:00
parent ff1bd1d0b6
commit 69cc960fe5
14 changed files with 83 additions and 28 deletions

View File

@@ -0,0 +1,27 @@
app:
name: "user-prod"
log:
debug: false
level: "debug"
maxSize: 10
maxBackups: 100
maxAge: 7
db:
etcd:
endpoints: [ "172.18.28.0:2379" ]
mysql:
user_db:
dsn: "root:gR9pV4tY7zR6qL3e@tcp(172.18.28.0:3306)/user_db?charset=utf8mb4&parseTime=True&loc=Local"
maxOpenConn: 50
maxIdleConn: 20
connMaxLifetimeSec: 600
connMaxIdleTimeSec: 180
logLevel: "warn"
serve:
grpc:
address: "172.18.28.0"
port: 8602
ttl: 20