Docker image for using NGINX with uWSGI as HTTP router for a Django Python project via Docker Compose
Any Python application that uses this image will need a
uwsgi.ini file in their parent directory (where the Dockerfile is).
The application must run on port
:8080, unless you overwrite the included
This must contain:
[uwsgi] wsgi-file = /app/main.py
wsgi = /app/main.py is a reference to the Python module (e.g.
main.py) containing the WSGI entry point
See The first WSGI application
in the uWSGI docs for additional information.