- Clone the devops repository
- Navigate to directory named combined
- Create a .env file and add the environment variables
- Start the services using the command
docker compose up -d
You can redeploy a particular service using below command
docker compose up -d {service-name} --build
E.g.,
To deploy bff service, run
docker compose up -d bff --build
- We use github packages to store the docker images of services. Whenever new code is pushed to the repository a new image is automatically built and stored in Github Packages.
- For public services like nginx, we use the docker images hosted at Docker Hub