This project demonstrates:
- Two microservices (Go and Flask) exposing simple
/pingand/helloendpoints - Nginx reverse proxy for clean routing (
/service1/and/service2/) - Health checks to verify that the services are up before allowing traffic
docker-composesetup for seamless orchestration
-
Clone this repo:
bash git clone https://github.com/harshsennnn/DevopsAssignment.git cd DevopsAssignment -
Run the services:
bash docker-compose up --build -
Test the endpoints:
- ✅ 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
-
This GitHub Actions CI pipeline automatically builds and tests both the Go and Python microservices on every push or pull request.
-
Builds the docker images and pushes them to docker hub