https://github.com/clwaniga/rproxyapp
reverse proxy using docker compose
https://github.com/clwaniga/rproxyapp
docker docker-image dockercompose kubectl kubernetes kubernetes-deployment nginx nginx-configuration nginx-proxy python yaml yaml-configuration
Last synced: 3 months ago
JSON representation
reverse proxy using docker compose
- Host: GitHub
- URL: https://github.com/clwaniga/rproxyapp
- Owner: Clwaniga
- Created: 2025-08-27T05:25:59.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-08-28T19:01:56.000Z (10 months ago)
- Last Synced: 2025-08-29T00:58:28.321Z (10 months ago)
- Topics: docker, docker-image, dockercompose, kubectl, kubernetes, kubernetes-deployment, nginx, nginx-configuration, nginx-proxy, python, yaml, yaml-configuration
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
🌀 Reverse Proxy App - 📁 Project Overview
✅ Option 1: Run with docker-compose
▶️ Run the App
docker-compose up --build
🌐 Access the App
http://localhost
🛑 Stop the App
docker-compose down
✅ Option 2: Run with Docker Only
▶️ Build App Image
docker build -t my-app-image .
🔍 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
▶️ Apply Kubernetes Resources
kubectl apply -f deployment.yaml
kubectl apply -f service.yaml
🔍 Get Service Info
kubectl get service
📦 TL;DR Command Summary
# With Docker Compose
docker-compose up --build
# With Docker only
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
# With Kubernetes
kubectl apply -f deployment.yaml
kubectl apply -f service.yaml