get mongo volum from the data container
This commit is contained in:
parent
1cb131ba36
commit
4c06a03ead
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user