Public Repository

Last pushed: a year ago
Short Description
Dockerize MEAN stack app. In order to run this dockerize image locally please see ReadMe section
Full Description

This docker image is for dockerizing MEAN stack app. This image is only for educational purpose.In order to run this docker image locally follow the below steps:

  1. First we need to run mongoDB:
    docker run -p 27017:27017 -d --name db mongo
  2. Run docker Image:
    docker run -p 3000:3000 --link db:db_1 tavishagg/meanstack

                                    OR
    

We can use docker compose file to run with single command.
In order to run both containers from single command:

  1. Create a file named docker-compose.yml
  2. Paste the content into the file: https://github.com/tavishaggarwal/DockerMEANApp/blob/master/docker-compose.yml
  3. Go to directory containing the above file using terminal/powershell/command prompt.
  4. Run command docker-compose up
  5. Open http://localhost:3000 and application is up and running
    Code for the image : https://github.com/tavishaggarwal/DockerMEANApp
Docker Pull Command
Owner
tavishagg