
A demo of a minimal Nginx-uWSGI-Flask-Redis stack using Docker in less than 42 mb.
This minimal Docker Python setup is a demonstration project that showcases a simplified stack using Nginx, uWSGI, Flask, and Redis. The architecture is designed to count the number of visits per IP address and store this data efficiently in Redis. One of the standout features of this Docker setup is its lightweight nature, making it an excellent choice for developers looking to experiment without consuming excessive resources. The entire setup runs using less than 45 MB of disk space, making it ideal for quick testing and learning purposes.
Setting up the environment involves creating images with Nginx and Redis and subsequently building the other images with Docker Compose. Users can quickly access the application at http://localhost:1337 to view the IP address count, all while benefiting from a custom image tailored for ease of use and performance.
