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
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: