Skip to content

allofphysicsgraph/pdg_essential_demo_flask_gunicorn_nginx_googleauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo of Flask in Docker with Gunicorn and nginx with HTTPS certificates

Flask: see https://flask.palletsprojects.com/en/stable/

Google auth: see https://developers.google.com/identity/sign-in/web/sign-in

I'm re-using the certs generated by certbot on my webserver;

cd certs 
scp -o "IdentitiesOnly=yes" -i ~/.ssh/id_NAMEHERE -v USERNAME@IPADDRESS:/home/USERNAME/allofphysics.com/certs/*.pem .

To use,

make container_build
make up

In a browser, visit https://localhost to see a static HTML page

Guide

This demo repo is part of a sequence of tutorials

sequence of demos

About

flask + gunicorn + nginx with googleauth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published