32 lines
536 B
YAML
32 lines
536 B
YAML
# 本机配置
|
|
myServer:
|
|
appName: mylomen_server
|
|
jwtSigningKey: t2vr8fyqh5mvfvrjdszb6ev3eas4a9kw
|
|
|
|
# fbConsul
|
|
fbConsul:
|
|
address: https://consul.mylomen.com
|
|
datacenter: dg01
|
|
token: 4b29ca6c-3233-4c70-7bb1-a3f4c2a18281
|
|
|
|
# rpc
|
|
rpc:
|
|
api-golang: http://api-golang.consul.service:8080
|
|
|
|
# pgSql
|
|
pgSql:
|
|
logSql: true
|
|
dsn: postgres://postgres:zym520!@123.207.198.132:15432/mylomen_user
|
|
maxIdleConn: 4
|
|
maxOpenConn: 4
|
|
connMaxLifetime: 0
|
|
|
|
|
|
# redis
|
|
redis:
|
|
db: 1
|
|
addr: 127.0.0.1:6379
|
|
readTimeout: 6000
|
|
writeTimeout: 6000
|
|
|