# tiangolo/uvicorn-gunicorn-fastapi-docker

Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python with performance auto-tuning.

Repository: https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker
Canonical: https://ross.abutalabs.com/products/uvicorn-gunicorn-fastapi-docker
Language: Python
License: MIT
License Family: permissive
Topics: uvicorn, gunicorn, asgi, web, python, async, docker, docker-image, websockets, json, swagger-ui, redoc, openapi, openapi3, pydantic, json-schema, python-types, fastapi
Last push: 2026-08-21T07:52:40+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 8, longevity 100
- inputs: {"age_days": 2798, "days_push": 12, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2915, forks 343 (observed 2026-08-28T04:07:29.963531+00:00)

## What it is
A Docker image that runs FastAPI applications with Uvicorn workers managed by Gunicorn, with automatic performance tuning of worker counts. It is now deprecated since modern Uvicorn supports multiple workers natively.

## Use cases
- deploy a FastAPI app in Docker with tuned worker processes
- run a high-performance Python ASGI web service in a container
- containerize a FastAPI API with websockets support
- serve a Python async web app with Gunicorn-managed Uvicorn workers

## When to choose
- you maintain a legacy deployment already built on this image
- you need a quick preconfigured FastAPI container without writing your own Dockerfile

## When to avoid
- starting a new project - the image is deprecated; use Uvicorn's --workers option directly
- you need a custom ASGI server setup beyond what the image auto-tuning provides
- you don't use FastAPI or Python ASGI frameworks

## Facets
- artifact type: infra-config
- maturity: maintenance
- function: http-server, deployment, web-framework
- domain: web-development, backend
- platform: python
- tags: fastapi, uvicorn, gunicorn, asgi, docker-image, deprecated, devops, containers, docker, linux

## Member repositories
- tiangolo/uvicorn-gunicorn-fastapi-docker (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:29.963531+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:34:07.237183+00:00, confidence not recorded.
  - readme: https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker (fetched 2026-08-28T04:07:29.963531+00:00, sha 9ca3ba429aea)
- Data as of 2026-08-30T08:39:29.467469+00:00.
