Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 500 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 500 Bytes

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