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/redis
|
||||||
- /var/lib/memcached
|
- /var/lib/memcached
|
||||||
- /var/lib/neo4j/data
|
- /var/lib/neo4j/data
|
||||||
|
- /var/lib/mongo:/data/db
|
||||||
|
|
||||||
### Nginx Server Container ##################################
|
### Nginx Server Container ##################################
|
||||||
|
|
||||||
@ -101,6 +102,15 @@ services:
|
|||||||
volumes_from:
|
volumes_from:
|
||||||
- data
|
- data
|
||||||
|
|
||||||
|
### MongoDB Container #######################################
|
||||||
|
|
||||||
|
mongo:
|
||||||
|
build: ./mongo
|
||||||
|
ports:
|
||||||
|
- "27017:27017"
|
||||||
|
volumes_from:
|
||||||
|
- data
|
||||||
|
|
||||||
### Redis Container #########################################
|
### Redis Container #########################################
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
@ -139,13 +149,6 @@ services:
|
|||||||
- "2080:2080"
|
- "2080:2080"
|
||||||
links:
|
links:
|
||||||
- beanstalkd
|
- beanstalkd
|
||||||
|
|
||||||
### Mongo Container ############################
|
|
||||||
|
|
||||||
mongo:
|
|
||||||
build: ./mongo
|
|
||||||
ports:
|
|
||||||
- "27017:27017"
|
|
||||||
|
|
||||||
### Workspace Utilities Container ###########################
|
### Workspace Utilities Container ###########################
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user