Skip to content

codeasashu/python-nginx-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This is a Flask application running behind uwsgi server which is being loadbalanced by nginx, which is dockerized. Awesome!!

How to run

  1. Clone the repo git clone https://github.com/codeasashu/python-nginx-docker.git
  2. cd into the repo directory. cd python-nginx-docker
  3. Create environment file from env-example file. cp env-example .env
  4. Run docker-compose build and then docker-compose up -d
  5. Enjoy the python app.

Making changes

The code lives in app directory, which have this file called server.py - a simple flask application. Make changes there and see if it works

TODO

  1. SSL support
  2. Live code reloads
  3. Basic frontend to demonstrate static content loading via nginx

About

A python flask application using uwsgi server and nginx load balancer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy