1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- database:
- # 数据库类型
- dialect: mysql
- # host地址
- host: 127.0.0.1
- # 端口
- port: 3306
- # 数据库名称
- db: panel_development
- # 数据库用户名
- userName: root
- # 数据库密码
- password: 123456
- # 其他配置参数
- otherParams: charset=utf8mb4&parseTime=True&loc=Local
- # 最大空闲连接数
- maxIdleConn: 20
- # 最大连接数
- maxOpenConn: 200
- # 连接超时关闭时间,单位:秒
- connMaxLifetime: 60
- jwt:
- secret: "xxxxx"
- refresh_expire: 168
- Issuer: "lc_oauth"
- # 服务相关配置
- server:
- # 启动模式 debug、release
- mode: debug
- # http服务信息
- insecureServingInfo:
- # 监听端口
- port: ":8080"
- subMail:
- appid: "97173"
- signature: "f639a60e41ee0554921d89884f5ff87e"
- redis:
- addr: "192.168.0.100:6379"
- password: ""
- db: 0
- nats:
- url: "nats://127.0.0.0:4222"
- qiniu:
- endpoint: "https://bzdcdn.baozhida.cn/"
- accessKeyID: "-8ezB_d-8-eUFTMvhOGbGzgeQRPeKQnaQ3DBcUxo"
- accessKeySecret: "KFhkYxTAJ2ZPN3ZS3euTsfWk8-C92rKgkhAMkDRN"
- bucketName: "bzdcdn"
- swag:
- # 将环境变量 NAME_OF_ENV_VARIABLE设置为任意值,则 /swagger/*any 返回404响应
- enable: "NAME_OF_ENV_VARIABLE"
|