Skip to content

Commit

Permalink
Merge pull request MoePlayer#3 from hguandl/master
Browse files Browse the repository at this point in the history
Listen Redis and MongoDB locally
  • Loading branch information
DIYgod committed Feb 26, 2019
2 parents 940510f + c604e95 commit 8f319b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker-compose.yml
Expand Up @@ -4,13 +4,13 @@ services:
mongo:
image: mongo:latest
ports:
- 27017:27017
- "127.0.0.1:27017:27017"
volumes:
- ~/dplayer/db:/data/db
- ~/dplayer/db:/data/db
redis:
image: redis:latest
ports:
- "6379:6379"
- "127.0.0.1:6379:6379"
web:
build: .
links:
Expand All @@ -29,4 +29,4 @@ services:
MONGO_DATABASE: "danmaku"
volumes:
- ~/dplayer/logs:/usr/src/app/logs
- ~/dplayer/pm2logs:/root/.pm2/logs
- ~/dplayer/pm2logs:/root/.pm2/logs

0 comments on commit 8f319b3

Please sign in to comment.