#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.
- Stars
- 3k
- License
- Apache-2.0
- Last commit
- Oct 2026
- Last release
- Mar 2024
- Language
- Python
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
- 2.0.0 ↗ (opens in a new tab)Breaking
“🔥 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| Rank | Project | Score |
|---|---|---|
| #91 | graphene-djangoGraphQL API library that maps Django models to Graphene types | 42 out of 100 |
| #92 | moderncppstarterCMake template for C++ projects with tests, CI, formatting and docs | 41 out of 100 |
| #94 | nunuGo CLI that scaffolds layered Gin and Gorm projects with Wire injection | 41 out of 100 |
| #95 | aws-nestjs-starterNestJS GraphQL and REST API starter for AWS Lambda and DynamoDB | 41 out of 100 |
| #96 | nodejs-api-boilerplateExpress TypeScript CRUD API template with an LLM module generator | 40 out of 100 |