Sign inSign up

sanjaysaini2000/meanstack_backend

By sanjaysaini2000

Updated over 6 years ago

Image of back-end of Customer Store Mean Stack app using Nodejs/Express and mongodb.

Image
0

216

sanjaysaini2000/meanstack_backend repository overview

About this Image:

This is a docker image of back-end of Customer Store Mean Stack app developed using Nodejs/Express and mongodb as database.

Prerequisite:

Docker should be setup on your machine.

Steps to use this image:

1- Create docker-compose file.

Get the docker-compose.yml file from my GitHub repo - https://github.com/sanjaysaini2000/mean-stack-application/blob/master/docker-compose.yml and save the content in docker-compose.yml on your machine.

2- Pull the images

Open the command terminal on the path of docker-compose.yml and run following command.

docker-compose pull

3- Start the app

Run following command to create/run the containers

docker-compose up -d

4- Now open the browser and type in the address bar http://host url:80

 E.g. http://192.168.99.100:80

You have successfully host mean stack app in a docker container.

Note - your docker machine IP should be same. You can check by running "docker-machine IP" command.

5- To kill and remove the container run following command

  docker-compose down
Built with:
  • Docker Toolbox on Windows
  • Docker version 19.03.1
  • docker-compose version 1.24.1

Tag summary

Content type

Image

Digest

Size

38.1 MB

Last updated

over 6 years ago

docker pull sanjaysaini2000/meanstack_backend