#9393rd of 110 in Backend and cloud templates

uwsgi-nginx-flask-docker

Base image running Flask under uWSGI and Nginx in one container

Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Releases and problems feed (RSS)

Stars
3k
License
Apache-2.0
Last commit
Oct 2026
Last release
Mar 2024
Language
Python
Stars, last 30 weeks+9
27 Apr 2026: 2,990 stars4 May 2026: 2,990 stars11 May 2026: 2,991 stars18 May 2026: 2,991 stars25 May 2026: 2,991 stars1 Jun 2026: 2,991 stars8 Jun 2026: 2,991 stars15 Jun 2026: 2,992 stars22 Jun 2026: 2,992 stars29 Jun 2026: 2,994 stars6 Jul 2026: 2,994 stars13 Jul 2026: 2,994 stars20 Jul 2026: 2,994 stars27 Jul 2026: 2,995 stars3 Aug 2026: 2,996 stars10 Aug 2026: 2,996 stars17 Aug 2026: 2,996 stars24 Aug 2026: 2,996 stars31 Aug 2026: 2,996 stars7 Sept 2026: 2,996 stars14 Sept 2026: 2,996 stars21 Sept 2026: 2,997 stars28 Sept 2026: 2,997 stars5 Oct 2026: 2,998 stars12 Oct 2026: 2,998 stars19 Oct 2026: 2,998 stars26 Oct 2026: 2,998 stars2 Nov 2026: 2,999 stars9 Nov 2026: 2,999 stars16 Nov 2026: 2,999 stars23 Nov 2026: 2,999 stars

2,990 on 27 Apr 20262,999 on 23 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

A Docker base image that runs a Flask app with uWSGI behind Nginx in a single container, published as python3.10, python3.11 and python3.12 tags. Behavior is tuned with environment variables such as UWSGI_PROCESSES, LISTEN_PORT and STATIC_PATH, and an optional /app/prestart.sh runs before startup. The README marks it deprecated: uWSGI is in maintenance mode and no new Python versions will be added.

Who it is for: Maintainers of existing Flask services on uWSGI and Nginx who are migrating off

Strengths

  • Minimal setup: copy an app/main.py exposing `app` onto the image and it serves
  • Env vars control uWSGI workers (default 2 up to 16), Nginx workers, port, static path and upload size
  • prestart.sh hook runs migrations or scripts before the server starts
  • Dated build tags let you pin an exact image version

Weaknesses

  • Deprecated by the author; no support planned for new Python versions
  • uWSGI is in maintenance mode, and the README recommends migrating away
  • Per-container worker manager is redundant on Kubernetes or Swarm, where replication happens at the cluster
  • Only python3.10 to 3.12 tags remain; older tags are removed from the repo

What it needs

  • Python
  • Needs Docker, uWSGI, Nginx

What changed

  1. “🔥 Deprecate and remove Python 3.6. PR #304 by @tiangolo.”

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in Backend and cloud templates

See all 110
Also in Backend and cloud templates
RankProjectScore
#91graphene-djangoGraphQL API library that maps Django models to Graphene types4.4k starsMIT42 out of 100
#92moderncppstarterCMake template for C++ projects with tests, CI, formatting and docs5.4k starsUnlicense41 out of 100
#94nunuGo CLI that scaffolds layered Gin and Gorm projects with Wire injection2.6k starsMIT41 out of 100
#95aws-nestjs-starterNestJS GraphQL and REST API starter for AWS Lambda and DynamoDB347 starsUnlicense41 out of 100
#96nodejs-api-boilerplateExpress TypeScript CRUD API template with an LLM module generator164 starsMIT40 out of 100