🌀 Reverse Proxy App - 📁 Project Overview
✅ Option 1: Run with docker-compose
🌐 Access the App http://localhost
🛑 Stop the App docker-compose down
✅ Option 2: Run with Docker Only
🔍 Run App Container docker run -d --name app -p 5000:5000 my-app-image
⚙️ Run NGINX Container
docker run -d
--name nginx
--link app
-p 80:80
-v $(pwd)/nginx.conf:/etc/nginx/nginx.conf:ro
nginx
✅ Option 3: Run on Kubernetes
🔍 Get Service Info kubectl get service
📦 TL;DR Command Summary
docker-compose up --build
docker build -t my-app-image . docker run -d --name app -p 5000:5000 my-app-image docker run -d --name nginx --link app -p 80:80 -v $(pwd)/nginx.conf:/etc/nginx/nginx.conf:ro nginx
kubectl apply -f deployment.yaml kubectl apply -f service.yaml