Rename mongodb container to expresscart-mongodb

This change avoids naming conflicts with other mongodb containers.
master
Ben Burns 2018-09-01 16:22:42 -07:00 committed by Mark Moffat
parent d889bfb525
commit 539261d140
1 changed files with 3 additions and 3 deletions

View File

@ -15,13 +15,13 @@ services:
- mongodb
mongodb:
image: mongo:3.4.10
container_name: "mongodb"
container_name: "expresscart-mongodb"
ports:
- 27017
volumes:
- mongo-data:/data/db
- expresscart-mongo-data:/data/db
ports:
- 27017:27017
command: mongod --smallfiles --logpath=/dev/null
volumes:
mongo-data:
expresscart-mongo-data: