Skip to content
Node.js backend with Docker for DPlayer(https://github.com/DIYgod/DPlayer)
Branch: master
Clone or download
DIYgod Merge pull request #3 from hguandl/master
Listen Redis and MongoDB locally
Latest commit 8f319b3 Feb 26, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
logs
middleware
routes compatible with empty author Jul 14, 2018
utils set cache time Jul 9, 2018
.eslintrc
.gitignore refactor Jul 2, 2018
Dockerfile
README.md refactor Jul 2, 2018
config.js refactor Jul 2, 2018
docker-compose.yml Listen Redis and MongoDB locally Feb 25, 2019
index.js refactor Jul 2, 2018
package.json bilibili danmaku parser Jul 9, 2018
router.js bilibili danmaku parser Jul 9, 2018
yarn.lock bilibili danmaku parser Jul 9, 2018

README.md

DPlayer node

Node.js backend for DPlayer

Usage

Start

docker-compose build
docker-compose pull
docker-compose up # -d for run it in the background

Data & logs

Database data: ~/dplayer/db DPlayer logs: ~/dplayer/logs PM2 logs: ~/dplayer/pm2logs

Import

mv dans.json ~/dplayer/db/backup/dans.json
docker exec dplayernode_mongo_1 mongoimport -d danmaku -c dans --file /data/db/backup/dans.json

Export

docker exec dplayernode_mongo_1 mongoexport -d danmaku -c dans -o /data/db/backup/dans.json
cat ~/dplayer/db/backup/dans.json

Stop

docker-compose stop

Communication Groups

Telegram Group

Author

DPlayer-node © DIYgod, Released under the MIT License.
Authored and maintained by DIYgod with help from contributors (list).

Blog @DIYgod · GitHub @DIYgod · Twitter @DIYgod · Telegram Channel @awesomeDIYgod

You can’t perform that action at this time.