Skip to content

Deploying a Django project in production with Docker Compose, Gunicorn and Nginx.

Notifications You must be signed in to change notification settings

jonnyhoff/django-docker-compose

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy Django in Production

Boilerplate code to deploy a Django project using Docker Compose in a production environment.

In production, Django uses a WSGI server such as Gunicorn and a web server such as Nginx.

Usage

Run services in the background: docker-compose up -d

Run services in the foreground: docker-compose up --build

Inspect volume: docker volume ls and docker volume inspect <volume name>

View networks: docker network ls

Bring services down: docker-compose down

About

Deploying a Django project in production with Docker Compose, Gunicorn and Nginx.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 90.4%
  • Dockerfile 5.0%
  • Shell 4.6%