Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
k8s
 
 
 
 
 
 

README.md

sqrelsst/nginx-python Docker images

This is an nginx Docker image built upon the python:3.5.1 official Python image. Building nginx upon Python helps save space when deploying nginx with a uWSGI-based Python application that uses the same base image.

This image configures nginx to work with a uWSGI server on an HTTP socket over 3031 port. By using the HTTP socket it's easy for an nginx container to talk to another uWSGI+app container.

Image tags

sqrelsst/nginx-python:compose

Use this image with Docker Compose. This image configures nginx to work with a uWSGI server over the uwsgi:3031 HTTP socket. The uwsgi hostname should be set on the uWSGI+App container via Docker Compose.

sqrelsst/nginx-python:k8s

Use this image with Kubernetes. On this image, nginx is configured to talk to uWSGI over a 127.0.0.1:3031 HTTP socket since containers in Kubernetes pods all share host network. The nginx container listens on 8080 because we assume that another service will terminate SSL.

Prior art

The practices employed in this Docker container are built upon the following repositories and documentation:

License

Copyright 2016 LSST/AURA, MIT Licensed.

About

Nginx docker container built on the standard Python 3.x container for deployment with uWSGI Python apps

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.