Deploy 4 Tier React Node MongoDB Application With Nginx

 

Deploy 4 Tier React Node MongoDB Application With Nginx






Steps Have to Follow

  • [ x ] make a Mongodb database (cloud/local container/local server)
  • [ x ] connect MongoDB from the backend
  • [ x ] write dockerfile and dockerize backend
  • [ x ] Write a docker file for frontend
  • [ x ] use multistage build
  • [ x ] build a front end at first stage using node lightweight image
  • [ x ] Run the previously built code in the second stage using light weight nginx image
  • [ x ] Write a docker file for nginx
  • [ x ] write docker-compose file
  • [ x ] name backend server=api, frontend=client, nginx build it
  • [ x] find where the container puts logs of the application
  • [ x ] Mount the /logs directory inside the container logs folder,so that we can access the container application logs outside of the container(from the local directory)
  • [ x ] Successfully run the docker-compose

GitHub Repo: https://github.com/saifuranik/4-tier-Application-Deploy.git

non-ready repo: https://github.com/saifuranik/tasks_docker.git



Full Project(click me)












No comments:

Post a Comment

Pages