Posts Tagged: deployment
-
FastAPI Framework: Python ASGI Microframework Complete Beginner Tutorial 2026
FastAPI framework tutorial: Install FastAPI, build hello world API/app, Pydantic models, async routes, SQLAlchemy/Tortoise ORM, dependencies, testing, deployment to Vercel/Uvicorn/Gunicorn. Benchmarks vs Flask/Django. SEO-optimized for Python web dev.
-
Flask Framework Tutorial
Flask tutorial: installation, hello world app, routes, Jinja templates, WTForms, SQLAlchemy ORM, Blueprints, deployment to Heroku/Vercel.
-
How to Configure Flask Behind Nginx with X-Forwarded-For Headers for GDPR Logging
Configure Flask behind Nginx to preserve real client IP with X-Forwarded-For headers for GDPR logging. Covers Nginx proxy_set_header, Flask ProxyFix/werkzeug ProxyFix, Gunicorn --forwarded-allow-ips, Docker and Ubuntu setups.
-
Reducing Docker Image Size from 1.2GB to 145MB for Python FastAPI Applications
Reduce FastAPI Docker images from 1.2 GB to 145 MB using Alpine multistage builds and uv. Includes benchmarks, production Dockerfile, .dockerignore, and pitfalls.
-
Serving FastAPI Behind Traefik with Automatic HTTPS and Path-Based Routing
FastAPI Traefik Docker setup: Reverse proxy with auto HTTPS Let's Encrypt, path-based routing /api → FastAPI. docker-compose.yml labels, middleware prefix strip. Production deploy: scales 100k+ req/s. Keywords: fastapi traefik, fastapi behind traefik, traefik path routing fastapi, automatic https traefik fastapi, docker compose fastapi traefik.