Best Flask open-source libraries and packages

Flask_gunicorn_nginx

Sample Flask web application with gunicorn wsgi, dockerized into one container and Nginx web server configured to handle requests in another container
Updated 9 months ago

Flask, Nginx and Docker

FlaskApp - Docker image with gunicorn(Application Server) for Flask web applications in Python using Alpine Linux.
Nginx - Docker image with Nginx web server running on port 80(http)

Description

FlaskApp docker image makes use of Alpine Linux as base layer alongwith Python and Gunicorn. Gunicorn acts as server gateway interface between flask and nginx, due to it's light weight and high speed small web applications.

Docker Link -
FlaskApp: https://hub.docker.com/r/jassumohit/sample_flask
Nginx: https://hub.docker.com/r/jassumohit/nginxnew

Pre-requisites -

  1. Docker

Steps to run on command line

  1. Clone repo
  2. Activate Docker Daemon
  3. CD to root directory of repo
  4. Run
    docker-compose up

Following lines will display on command line

alt text

Hit the URL - http://localhost

Step to stop

  1. Open another command line
  2. Run
    docker-compose down