Skip to content

harshsennnn/nginx-reverse-proxy-cicd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microservices Routing with Nginx and Health Checks

This project demonstrates:

  • Two microservices (Go and Flask) exposing simple /ping and /hello endpoints
  • Nginx reverse proxy for clean routing (/service1/ and /service2/)
  • Health checks to verify that the services are up before allowing traffic
  • docker-compose setup for seamless orchestration

Youtube Overview

YouTube Watch on YouTube


🧭 Setup Instructions

  1. Clone this repo:

    bash git clone https://github.com/harshsennnn/DevopsAssignment.git cd DevopsAssignment

  2. Run the services:

    bash docker-compose up --build

  3. Test the endpoints:

🐳 Features

  • ✅ Nginx reverse proxy for unified routing
  • ✅ Health check endpoints to ensure each service is live
  • ✅ Go & Flask microservices containerized with Docker
  • ✅ Easy one-command deployment with docker-compose

ADD ON - Continuous Integration/Continuous Delivery Pipeline (Github Actions)

  1. This GitHub Actions CI pipeline automatically builds and tests both the Go and Python microservices on every push or pull request.

  2. Builds the docker images and pushes them to docker hub

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published