# testdrivenio/django-on-docker

Dockerizing Django with Postgres, Gunicorn, and Nginx

Repository: https://github.com/testdrivenio/django-on-docker
Canonical: https://ross.abutalabs.com/products/django-on-docker
Language: Python
License: MIT
License Family: permissive
Topics: django, docker, django-nginx, django-gunicorn-docker
Last push: 2023-11-07T11:47:05+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2858, "days_push": 1030, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1186, forks 453 (observed 2026-08-28T04:03:55.095184+00:00)

## What it is
A boilerplate project showing how to dockerize a Django application with Postgres, Gunicorn, and Nginx using Docker Compose. It accompanies a testdriven.io tutorial and provides separate development and production configurations.

## Use cases
- dockerize a django app with postgres
- set up django with gunicorn and nginx in docker
- django docker compose starter template
- learn containerizing django for production
- dev and prod docker setup for django

## When to choose
- starting a new Django project you want to run in Docker
- learning how Django, Postgres, Gunicorn, and Nginx fit together in containers
- needing a simple dev/prod Docker Compose setup for Django

## When to avoid
- you need a full production platform with CI/CD, scaling, and monitoring built in
- your stack is not Django or you use a different database
- you want an actively developed framework rather than a reference template

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: web-framework, container-runtime, http-server, deployment
- domain: web-development, backend, developer-tools
- platform: python, self-hosted
- tags: django, docker-compose, gunicorn, nginx, postgres, boilerplate, tutorial, boilerplate, devops, containers, docker, linux

## Member repositories
- testdrivenio/django-on-docker (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:55.095184+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:33:23.038791+00:00, confidence not recorded.
  - readme: https://github.com/testdrivenio/django-on-docker (fetched 2026-08-28T04:03:55.095184+00:00, sha 8cd44dd1b16a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
