Skip to content

Commit

Permalink
add qiniu filesystem for backup drive
Browse files Browse the repository at this point in the history
  • Loading branch information
summerblue committed Mar 17, 2017
1 parent 2eec55f commit 8ca0a91
Show file tree
Hide file tree
Showing 5 changed files with 289 additions and 769 deletions.
8 changes: 7 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,10 @@ QA_CATEGORY_ID=4

# http://api.fanyi.baidu.com/api/trans/product/index
BAIDU_TRANSLATE_APPID=
BAIDU_TRANSLATE_KEY=
BAIDU_TRANSLATE_KEY=

# qiniu.com for backup database
QINIU_ACCESS_KEY=xxx
QINIU_SECRET_KEY=xxxx
QINIU_BACKUP_BUCKET=db-backup
QINIU_BACKUP_DOMAIN=xxxxx.bkt.clouddn.com
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"pda/pheanstalk": "^3.1",
"nicolaslopezj/searchable": "1.*",
"hieu-le/active": "^3.4",
"cmgmyr/messenger": "^2.13"
"cmgmyr/messenger": "^2.13",
"overtrue/laravel-filesystem-qiniu": "^0.0.1"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
Expand Down
Loading

0 comments on commit 8ca0a91

Please sign in to comment.