Skip to content

A simple, lightweight Python-based reverse proxy using Flask with a Swiggy-inspired dashboard UI, containerized using Docker, and fronted by NGINX as a reverse proxy.

Notifications You must be signed in to change notification settings

shreyashmyakal/Python-Using-Docker-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Python Reverse Proxy UI with Docker & NGINX

A simple, lightweight Python-based reverse proxy using Flask with a Swiggy-inspired dashboard UI, containerized using Docker, and fronted by NGINX as a reverse proxy.

πŸš€ Features πŸ” Reverse proxy logic built with Python & Flask

🎨 Stylish HTML/CSS UI dashboard (Swiggy-like orange theme)

🐳 Containerized with Docker (no Compose required)

🌐 NGINX used to proxy traffic to the Flask container

⚑ Quick to set up, great for learning reverse proxy concepts

πŸ“ Project Structure php Copy Edit python-proxy-ui/ β”œβ”€β”€ app.py # Flask app with proxy logic β”œβ”€β”€ requirements.txt # Python dependencies β”œβ”€β”€ Dockerfile # Flask app Docker build β”œβ”€β”€ nginx/ β”‚ └── default.conf # NGINX reverse proxy config β”œβ”€β”€ templates/ β”‚ └── index.html # Frontend dashboard UI β”œβ”€β”€ static/ β”‚ └── style.css # Orange-themed styling πŸ›  Tech Stack Python 3.8

Flask 2.x

NGINX (latest)

Docker (Alpine base)

HTML/CSS (responsive card layout)

βš™οΈ How to Run 1️⃣ Build Flask App Image bash Copy Edit docker build -t python-proxy-ui . 2️⃣ Run Flask Container bash Copy Edit docker run -d --name app python-proxy-ui 3️⃣ Run NGINX Container (Reverse Proxy) bash Copy Edit docker run -d --name nginx -p 80:80
--link app:app
-v $(pwd)/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
nginx Now open: http://localhost You'll see the reverse proxy dashboard in action!

πŸ“Έ Screenshots Add your UI and setup screenshots here (e.g., dashboard view, NGINX container, etc.)

πŸ“Œ Notes The /proxy/ route can be extended to dynamically route traffic.

Replace http://example.com in app.py with your real backend target.

No docker-compose used β€” just pure Docker for learning purposes.

πŸ§‘β€πŸ’» Author Shreyash Myakal Aspiring AWS & DevOps Engineer | Python & Cloud Enthusiast πŸ”— LinkedIn β€’ Blog β€’ GitHub

About

A simple, lightweight Python-based reverse proxy using Flask with a Swiggy-inspired dashboard UI, containerized using Docker, and fronted by NGINX as a reverse proxy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published