Merge pull request #3 from hguandl/master

Listen Redis and MongoDB locally
master
DIYgod 5 years ago committed by GitHub
commit 8f319b3c27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      docker-compose.yml

@ -4,13 +4,13 @@ services:
mongo: mongo:
image: mongo:latest image: mongo:latest
ports: ports:
- 27017:27017 - "127.0.0.1:27017:27017"
volumes: volumes:
- ~/dplayer/db:/data/db - ~/dplayer/db:/data/db
redis: redis:
image: redis:latest image: redis:latest
ports: ports:
- "6379:6379" - "127.0.0.1:6379:6379"
web: web:
build: . build: .
links: links:
@ -29,4 +29,4 @@ services:
MONGO_DATABASE: "danmaku" MONGO_DATABASE: "danmaku"
volumes: volumes:
- ~/dplayer/logs:/usr/src/app/logs - ~/dplayer/logs:/usr/src/app/logs
- ~/dplayer/pm2logs:/root/.pm2/logs - ~/dplayer/pm2logs:/root/.pm2/logs

Loading…
Cancel
Save