Gabriele Gatto

Garanet 2005/2022

Skip to content
  • Development
  • Job Career
  • Skills
  • Press
  • Notes

Python-Flask API with 2 Endpoints on Docker behind NGINX Auth

Posted on 19 September 202114 November 2021 by Gabriele Gatto

This project shows how you can create a python flask API with docker behind a reverse proxy to protect different /endpoints.

A Python Flask API with 2 Endpoints on Docker behind NGINX Auth

Python-Flask API with 2 Endpoints on Docker behind NGINX Auth
Python-Flask API with 2 Endpoints on Docker behind NGINX Auth

It could be easily integrated with different pipelines to trigger when a Dockerfile or your app.py changes.

In the main folder, you’ll find a bash script to create or shut down the containers.

The script also is checking with a curl command if the containers are working or not.

In order to run it, You need to have installed on your PC/MacOsX/Linux, Docker, and docker-compose.

Python-Flask API with 2 Endpoints on Docker behind NGINX Auth
Python-Flask API with 2 Endpoints on Docker behind NGINX Auth

The complete guide from the repo sites:

GitHub: https://github.com/garanet/Docker-Python-Flask-with-NGINX-for-AUTH

SourceForge: https://sourceforge.net/p/docker-python-flask-nginx-auth/code/ci/main/tree/

A similar project is here:

-> https://www.garanet.net/k8s-php-postgresql-redis/

Posted in DevelopmentTagged api, Auth, ci/cd, docker, endpoints, gitlab, gitops, Login, nginx, pipelines, proxy, Python-Flask, reverse

Post navigation

A K8s PHP POSTGRESQL REDIS
AWS protected S3 website with CloudFront using Lambda@Edge.
Gabriele Gatto Senior Engineer Garanet
Senior IT Engineer

  • LinkedIn
  • GitHub
  • CodePen

AWS Backup Bash cms cronjob database fanclub Five On Line Full Gabriele Gatto Ghigo github installazione java kubernetes lambda linux Litfiba margheri MongoDB mysql olanda osx Pelú php PostgreSQL project proxy puppet python rds Renzulli reunion reverse rotterdam s3 Script security server sops stato libero sysadmin Ubuntu ufficiale website

  • Development
  • Job Career
  • Skills
  • Press
  • Notes
  • LinkedIn
  • GitHub
  • CodePen
  • Home
  • About Me
  • Privacy policy
powered by garanet © 2005/2022
We use cookies for various purposes including analytics and personalized marketing. By continuing to use the service, you agree to our use of cookies.