12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- spring:
- #数据源连接--start
- datasource:
- url: jdbc:mysql://rm-wz928s8btl7kxil44.mysql.rds.aliyuncs.com:3306/caimei?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true
- username: coder
- password: diKtPYZ%wToI&9#L
- # Hikari will use the above plus the following to setup connection pooling
- 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
- #数据源连接--end
- #Redis连接--start
- redis:
- host: 172.31.165.23
- port: 6379
- #password: 6#xsI%b4o@5c3RoE
- #Redis数据库索引(默认为0)
- database: 0
- #连接池最大连接数(使用负值表示没有限制)
- jedis:
- pool:
- max-active: 50
- #连接池最大阻塞等待时间(使用负值表示没有限制)
- max-wait: 3000
- #连接池中的最大空闲连接
- max-idle: 20
- #连接池中的最小空闲连接
- min-idle: 2
- #连接超时时间(毫秒)
- timeout: 5000
- #Redis连接--end
- #日志配置
- logging:
- file:
- path: /mnt/newdatadrive/data/runtime/jar-instance/manager-api/logs
- level:
- root: info
- # 服务域名
- caimei:
- wwwDomain: https://www.caimei365.com
- coreDomain: https://core.caimei365.com
- imageDomain: https://img.caimei365.com
- cm:
- config: product
- aliyun:
- accessKeyId: LTAI4GBL3o4YkWnbKYgf2Xia
- accessKeySecret: dBjAXqbYiEPP6Ukuk2ZsXQeET7FVkK
- bucketName: caimei-oss
- endpoint: https://oss-cn-shenzhen.aliyuncs.com
- # 微信公众号
- wechat:
- apiUrl: https://api.weixin.qq.com
- publicUrl: https://mp.weixin.qq.com
- caimei:
- id: gh_ef75b1b89b74
- appid: wx91c4152b60ca91a3
- secret: a563dd2c07c9c815a4e697c8b6cb73dc
- hehe:
- id: gh_eecada09617d
- appid: wxd81864ddacc0ed25
- secret: 7873323db2984c75556f8d04e76d1f02
- caimei-old: # 旧公众号,openid迁移用
- id: gh_7de98a37fb6a
- appid: wxea43a0f9ebce9e66
- secret: 1c3cd60908e72dd280840bee9e15f7f6
- #DFS配置
- fdfs:
- so-timeout: 5000 #上传的超时时间
- connect-timeout: 2000 #连接超时时间
- thumb-image: #缩略图生成参数
- width: 150
- height: 150
- tracker-list: #TrackerList参数,支持多个
- - 172.31.165.24:22122
|