A containerized microservice architecture built with Docker, Kubernetes, and GitHub Actions. Designed for scalable e-commerce APIs with automated CI/CD and security best practices.
- Docker + DockerHub
- Kubernetes (Minikube or Cloud)
- GitHub Actions (CI/CD)
- Trivy Image Scanner
- Horizontal Pod Autoscaler
- Ingress Controller (NGINX)
# Clone & navigate
git clone https://github.com/Codebruh-sudo/DevOps.git
cd DevOps
# Build & run locally
docker build -t devops-service .
docker run -p 5000:5000 devops-service
## CI/CD ( for security reasons)
- name: Scan Docker image with Trivy
uses: aquasecurity/trivy-action@master
with:
image-ref: '${{ secrets.DOCKER_USERNAME }}/moonride:latest'
---
### 📓 `CHANGELOG.md`
```markdown
# Changelog
## [1.2.0] – 2025-06-23
### Added
- Trivy scanning to GitHub Actions workflow
- Complete DevOps documentation
- Ingress endpoint documentation in README
## [1.1.0] – 2025-06-22
### Changed
- Refactored deployment into `k8s/` folder
- Added HPA to Kubernetes configs
## [1.0.0] – 2025-06-21
### Added
- Initial CI/CD pipeline
- Dockerfile, GitHub Actions, deployment configs
### ATTCHMENTS
https://drive.google.com/file/d/1ffDWs9VoxSc1TameQcAuXL4DRPzGneVO/view?usp=drive_link
(link of the video of starting minikube and Deployment of all versions of containers )
https://drive.google.com/file/d/1yn7dPtQ_Ev94CWQE5OsqmRUgLoDCQTLP/view?usp=drive_link
https://drive.google.com/file/d/1eKbt5fyrjfFCFruH9hKgoDBFExSukiaX/view?usp=drive_link
( SCREENSHOTS OF THE CODE RUNNING AND WORKING OD CI/CD PIPELINE)