Boilerplate Docker Django Gunicorn Nginx

screenshot of Boilerplate Docker Django Gunicorn Nginx
django

This repo contains a small example for a Django App in a Docker Container. For the deployment the docker-compose file uses Gunicorn and nginx. Based on the repo of Pawamoy (https://github.com/Pawamoy/docker-nginx-postgres-django-example).

Overview

Boilerplate-Docker-Django-Gunicorn-Nginx is a repository that provides a small example for a Django App in a Docker Container. The deployment of the Docker container uses Gunicorn and Nginx. The repository is based on the repo from pawamoy. You can find additional configuration setup for an additional database in the pawamoy-repo, although it is not included in the docker-compose-File.

Features

  • Docker containerization for easy deployment
  • Usage of Gunicorn and Nginx for efficient and scalable performance
  • Ability to install new libraries using pipenv
  • Handling of static files including proper mounting and inclusion in templates

Summary

Boilerplate-Docker-Django-Gunicorn-Nginx is a useful repository that provides a small example for a Django App in a Docker Container. The use of Gunicorn and Nginx ensures efficient performance, while the ability to install new libraries using pipenv simplifies the process of adding dependencies. The handling of static files is also well-documented, ensuring smooth deployment and inclusion in templates.

django
Django

Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. It follows the model-view-controller (MVC) architectural pattern, providing an extensive set of built-in tools and conventions to streamline the creation of robust and scalable web applications.

docker
Docker

A website that uses Docker for containerization to streamline development, testing, and deployment workflows. This includes features such as containerization of dependencies, automated builds and deployments, and container orchestration to ensure scalability and availability.