get mongo volum from the data container

This commit is contained in:
Mahmoud Zalt 2016-06-01 14:44:10 +03:00
parent 1cb131ba36
commit 4c06a03ead
1 changed files with 10 additions and 7 deletions

View File

@ -33,6 +33,7 @@ services:
- /var/lib/redis
- /var/lib/memcached
- /var/lib/neo4j/data
- /var/lib/mongo:/data/db
### Nginx Server Container ##################################
@ -101,6 +102,15 @@ services:
volumes_from:
- data
### MongoDB Container #######################################
mongo:
build: ./mongo
ports:
- "27017:27017"
volumes_from:
- data
### Redis Container #########################################
redis:
@ -140,13 +150,6 @@ services:
links:
- beanstalkd
### Mongo Container ############################
mongo:
build: ./mongo
ports:
- "27017:27017"
### Workspace Utilities Container ###########################
workspace: