Image of back-end of Customer Store Mean Stack app using Nodejs/Express and mongodb.
216
This is a docker image of back-end of Customer Store Mean Stack app developed using Nodejs/Express and mongodb as database.
Docker should be setup on your machine.
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
Content type
Image
Digest
Size
38.1 MB
Last updated
over 6 years ago
docker pull sanjaysaini2000/meanstack_backend