Complete MLOps Platform with One-Click Model Deployment
Developed by JALENDAR REDDY π₯
A comprehensive MLOps platform that automates the entire machine learning lifecycle from model training to production deployment. Features one-click model export, Docker containerization, and multi-platform deployment support.
π¦ mlops-platform/
βββ π src/ # Source code modules
β βββ π api/ # FastAPI applications
β βββ π§ ml/ # Machine learning components
β βββ π web/ # Streamlit web interfaces
βββ π§ͺ tests/ # Test suite
βββ π scripts/ # Automation scripts
βββ π³ docker/ # Container configurations
βββ π docs/ # Documentation
βββ π data/ # Data storage
βββ π deployment/ # Deployment packages
π Detailed Structure: See
FOLDER_STRUCTURE.mdfor complete organization details.
# Clone and start
git clone <your-repo-url>
cd docker_mlops
chmod +x scripts/start_services.sh
./scripts/start_services.sh# Install dependencies
pip install -r requirements.txt
# Start Streamlit app (recommended method)
./scripts/run_streamlit.sh # Linux/macOS
scripts\run_streamlit.bat # Windows
# Start FastAPI (in another terminal)
./scripts/run_fastapi.sh # Linux/macOS
scripts\run_fastapi.bat # WindowsAlternative manual method:
# Set Python path and run from project root
export PYTHONPATH="${PYTHONPATH}:$(pwd)"
streamlit run src/web/streamlit_app.py
uvicorn src.api.app:app --reload- β One-Click Model Export - Export trained models with deployment configs
- β Docker Containerization - Automated container creation
- β FastAPI Integration - RESTful API endpoints
- β Streamlit Dashboard - Interactive web interface
- β MLflow Tracking - Experiment management
- β Cross-Platform - Windows, macOS, Linux support
- β Production Ready - Complete deployment pipeline
| Service | URL | Description |
|---|---|---|
| Streamlit Dashboard | http://localhost:8501 | Main web interface |
| FastAPI Docs | http://localhost:8000/docs | API documentation |
| MLflow UI | http://localhost:5000 | Experiment tracking |
| Health Check | http://localhost:8000/health | Service status |
| Document | Description |
|---|---|
docs/README.md |
Complete project documentation |
docs/QUICKSTART.md |
Quick setup guide |
docs/DOCKER_README.md |
Docker deployment guide |
FOLDER_STRUCTURE.md |
Project organization |
docs/GITHUB_PUSH_INSTRUCTIONS.md |
GitHub setup guide |
python -m pytest tests/ -v# Setup environment
./scripts/setup.sh # Linux/macOS
./scripts/setup.bat # Windows
# Generate sample data
python scripts/generate_sample_data.py
# Run demos
python scripts/demo.py
python scripts/demo_export.py# Build and run with Docker Compose
cd docker/
docker-compose up --build
# Individual container
docker build -t mlops-platform .
docker run -p 8501:8501 -p 8000:8000 mlops-platformfrom src.ml.ml_trainer import MLTrainer
from src.config import MODEL_CONFIG
trainer = MLTrainer(config=MODEL_CONFIG)
model = trainer.train(data_path="data/training_data.csv")from src.api.app import predict
result = predict({"feature1": 1.0, "feature2": 2.0})Key configuration files:
src/config.py- Main application settingsrequirements.txt- Python dependenciesdocker/docker-compose.yml- Container orchestration.env.template- Environment variables template
- π― Production Ready: Complete MLOps pipeline
- π One-Click Deployment: Automated export and containerization
- π Comprehensive Tracking: MLflow integration
- π Multi-Interface: Web UI + REST API
- π§ͺ Well Tested: Comprehensive test suite
- π Documented: Complete documentation
- π CI/CD Ready: GitHub Actions compatible
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if needed
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
JALENDAR REDDY
- π LinkedIn: Connect with me
- π GitHub: Follow me
- π§ Email: your.email@example.com
β Star this repository if you find it useful! β
π Ready for production deployment and LinkedIn showcase! πΌ