Create Docker Compose Orchestration for Reactjs, Nodejs and Mongodb (Part 1)

Опубликовано: 14 Октябрь 2024
на канале: Devops and Cloud Computing Training
626
16

Phase 1: During this phase i tried to work in a developement environment where i used Docker Compose as our containers orchestration for our rest api services (Reactjs , Nodejs and Mongodb). I used the nginx server as a reverse proxy for our reactjs server as long that we work only in development env , for the production env we will see it in next videos with kubernetes and react build. I explained how docker compose work and how the docker compose run our containers in the same environment when each service depends on the other ones; so they can be reachable by each other. In this lab i showed the importance of using volumes in docker to maintain our data and make it persistent, in our case using docker volume with our mongodb service that will enable us to keep our historical data alive even if the container shuted down

Github repo: https://github.com/Abdelali12-codes

#nginx #reactjs #dockercompose