To setup mongo with docker:
docker pull mongo
docker run --name mongodb -p 127.0.0.1:27017:27017 -d mongoTo deploy this project on a VM:
git clone https://github.com/BweakfastClub/Foodora.git- Then change directory to
Foodora docker pull mongodocker build -t foodora/backend .[Dot is important it tells what directory to use to build image from, in our case Foodora directory]docker-compose -f docker-compose.yml up -d foodora- Then you will get log message saying done