Self-Hosted App Web Apps & Cloud ★ 2,999 stars on GitHub

uwsgi-nginx-flask-docker

Bundle Python Flask web apps with uWSGI and Nginx into a single optimized Docker container for easy deployment.

Official Setup & Docs →
Self-Hosted Web Application: Unlike cloud SaaS apps, you run this software on your own server, NAS, or Docker container so you stay in full control of your data.

Guide and Overview

What it does in plain English

This tool provides a ready-to-use template for packaging Python web applications into a single Docker container. It bundles the Flask software foundation together with high-performance web servers to handle incoming traffic smoothly. Developers can easily build, test, and run their web projects without configuring complex server environments from scratch.

Who it’s for

  • Python developers looking to package web applications quickly for container environments.
  • Small teams wanting a straightforward way to serve lightweight web projects without manual server setup.
  • Students and hobbyists learning how to containerize web applications using Docker.

Key features

  • Combines Python, Flask, uWSGI, and Nginx into a unified base image.
  • Allows easy customization of worker processes and environment variables.
  • Supports direct serving of static files for improved loading speeds.
  • Includes options to adjust maximum file upload limits effortlessly.

How to install (Download)

To use this environment, reference the official container image directly in your project configuration file:

Pros and Cons

  • Pros: Simplifies server setup, highly configurable via environment variables, lightweight footprint.
  • Cons: Deprecated in favor of modern multi-container architectures, requires basic familiarity with Docker.

Optional commercial services unrelated to the open-source developer. Clicking an #ad link helps fund HubHum at no extra cost to you.

  • ★ Top Recommended — InterServer: Launch and host self-hosted web apps 24/7 on managed Linux cloud VPS servers starting at $3/month — Activate InterServer → (#ad)
  • GreenGeeks: Eco-friendly 300% green-energy SSD hosting with free SSL, nightly backups, and 1-click app installers — GreenGeeks (#ad)
  • Hosting.com (ex A2 Hosting): High-speed NVMe Managed VPS and WordPress cloud hosting optimized for self-hosted apps and sites — Hosting.com (ex A2 Hosting) (#ad)

Official Source & Credits: Official Source / Credits

Affiliate transparency (#ad): Some links on this page are affiliate links. If you choose to activate a service through them, we may earn a commission at no extra cost to you.

Your Saved Favorites

Your favorite apps are saved right here in this browser.


Sign in with one click to link your GitHub profile and sync favorites.