Rename mongodb container to expresscart-mongodb
This change avoids naming conflicts with other mongodb containers.master
parent
d889bfb525
commit
539261d140
|
@ -15,13 +15,13 @@ services:
|
||||||
- mongodb
|
- mongodb
|
||||||
mongodb:
|
mongodb:
|
||||||
image: mongo:3.4.10
|
image: mongo:3.4.10
|
||||||
container_name: "mongodb"
|
container_name: "expresscart-mongodb"
|
||||||
ports:
|
ports:
|
||||||
- 27017
|
- 27017
|
||||||
volumes:
|
volumes:
|
||||||
- mongo-data:/data/db
|
- expresscart-mongo-data:/data/db
|
||||||
ports:
|
ports:
|
||||||
- 27017:27017
|
- 27017:27017
|
||||||
command: mongod --smallfiles --logpath=/dev/null
|
command: mongod --smallfiles --logpath=/dev/null
|
||||||
volumes:
|
volumes:
|
||||||
mongo-data:
|
expresscart-mongo-data:
|
||||||
|
|
Loading…
Reference in New Issue