123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- database:
- # 数据库类型
- dialect: mysql
- # host地址
- host: 127.0.0.1
- # 端口
- port: 3306
- # 数据库名称
- db: bigdata_archives
- # 数据库用户名
- 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: ":8181"
- subMail:
- appid: "97173"
- signature: "f639a60e41ee0554921d89884f5ff87e"
- redis:
- addr: "192.168.0.100:6379"
- password: ""
- db: 0
- nats:
- NatsServer_Url: "nats://127.0.0.0:4222"
- swag:
- # 将环境变量 NAME_OF_ENV_VARIABLE设置为任意值,则 /swagger/*any 返回404响应
- enable: "NAME_OF_ENV_VARIABLE"
- archives:
- arc: "http://45.251.93.106:8082/api/statistics"
- modbus:
- address: "COM4"
- baudrate: 4800
- databits: 8
- parity: "N"
- url: "rtuovertcp://192.168.1.100:502"
|