Assignment of COMP3122
git clone https://github.com/cswclui/mongodb-docker
cd mongodb-docker
docker-compose up
Exit the mongo shell with Ctrl+D.
docker pull ***redacted*** (Please build the image on your own.)
docker run --rm --network ass1 -e MONGO_USERNAME=comp3122 -e MONGO_PASSWORD=12345 -e MONGO_SERVER_HOST='mongo' -e MONGO_SERVER_PORT='27017' -p 9990:15000 12345678d/student_svc
docker-compose down -v
docker build . -t 12345678d/student_svc