123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- spring:
- #数据源连接--start
- datasource:
- cmdatasource:
- driver-class-name: com.mysql.cj.jdbc.Driver
- jdbc-url: jdbc:mysql://192.168.2.100:3306/caimei?characterEncoding=UTF8&serverTimezone=Asia/Shanghai
- username: developer
- password: 05bZ/OxTB:X+yd%1
- type: com.zaxxer.hikari.HikariDataSource
- ldmdatasource:
- driver-class-name: com.mysql.cj.jdbc.Driver
- jdbc-url: jdbc:mysql://1.12.254.245:3306/aimili?characterEncoding=UTF8&serverTimezone=Asia/Shanghai
- username: developer
- password: vF9r3quHItQeVH82
- type: com.zaxxer.hikari.HikariDataSource
- hikari:
- minimum-idle: 5
- maximum-pool-size: 15
- auto-commit: true
- idle-timeout: 30000
- pool-name: DatebookHikariCP
- max-lifetime: 1800000
- connection-timeout: 30000
- connection-test-query: SELECT 1
- data:
- #mongo数据源配置
- mongodb:
- #使用uri连接
- # mongodb://用户名:密码@IP地址:27017/数据库
- uri: mongodb://zzj:easyCome.@192.168.2.100:27017/userInfo
- #数据源连接--end
- redis:
- host: 192.168.2.100
- port: 6379
- # password: 6#xsI%b4o@5c3RoE
- #Redis数据库索引(默认为0)
- database: 0
- #连接池最大连接数(使用负值表示没有限制)
- jedis:
- pool:
- max-active: 50
- #连接池最大阻塞等待时间(使用负值表示没有限制)
- max-wait: -1
- #连接池中的最大空闲连接
- max-idle: 20
- #连接池中的最小空闲连接
- min-idle: 2
- #连接超时时间(毫秒)
- timeout: 5000
- #上传文件大小
- servlet:
- multipart:
- max-file-size: 10MB
- max-request-size: 100MB
- #日志配置
- logging:
- level:
- root: info
- com.caimei.mapper: debug
- com.caimei.module.product.dao: debug
- # swagger文档显示配置
- swagger:
- enabled: true
- # 新旧www服务域名
- caimei:
- oldapi: http://192.168.2.81:8009
- zplmapi: http://192.168.2.68:8012
- zpapi: https://192.168.2.81:8009
- #图片服务器
- imageDomain: http://192.168.2.100
- core: http://192.168.2.100:18002
- #公众号
- appid: wx6512b1dfb84c28e1
- secret: 10f94918f59f630351319382bb29cab1
- #DFS配置
- fdfs:
- so-timeout: 5000 #上传的超时时间
- connect-timeout: 2000 #连接超时时间
- thumb-image: #缩略图生成参数
- width: 150
- height: 150
- tracker-list: #TrackerList参数,支持多个
- - 192.168.2.100:22122
- aliyunConfig:
- #阿里云oss存储
- accessKeyId: LTAI4GBL3o4YkWnbKYgf2Xia
- accessKeySecret: dBjAXqbYiEPP6Ukuk2ZsXQeET7FVkK
- bucketName: caimei-oss
- endpoint: https://oss-cn-shenzhen.aliyuncs.com
- # rocketmq 配置项,对应 RocketMQProperties 配置类
- rocketmq:
- name-server: 192.168.2.100:9876 # RocketMQ Namesrv
- producer:
- group: caimei_dev_group # 生产者分组
- send-message-timeout: 3000 # 发送消息超时时间,单位:毫秒。默认为 3000 。
|