Skip to Content

Gabriele Gatto

Garanet 2005/2023
  • Development
  • Job Career
  • Skills
  • Press
  • Notes

Tags

AWS Backup Bash cabo cms cronjob database fanclub Five On Line Full Gabriele Gatto gatto Ghigo gitops installazione java kubernetes lambda linux Litfiba margheri MongoDB mysql olanda osx PelĂș php PostgreSQL project puppet rds Renzulli reunion reverse rotterdam Script security server sops stato libero sysadmin Ubuntu ufficiale website wordpress
  • By -Gabriele Gatto
  • Posted on 19 September 202114 November 2021
  • Posted in Development

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

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/

Tags:apiAuthci/cddockerendpointsgitlabgitopsLoginnginxpipelinesproxyPython-Flaskreverse
Previous Article
A K8s PHP POSTGRESQL REDIS
Next Article
AWS protected S3 website with CloudFront using Lambda@Edge.
Copyright © 2023 Gabriele Gatto. All Rights Reserved.
We use cookies for various purposes including analytics and personalized marketing. By continuing to use the service, you agree to our use of cookies.