Files
coolify-docs/content/docs/applications/django.mdx
T
Andras Bacsai a64450ae9d feat(platform): migrate docs from VitePress to Fumadocs + TanStack Start
Replace VitePress/Vue stack with Fumadocs MDX, TanStack Start, React 19,
and Vite. Migrate all documentation content to MDX under content/docs/.
Add full src/ app with React components, routing, search, and API page.

Remove Korrektly integration from CI/CD workflows, Dockerfile, and env
vars. Update build pipeline to output to .output/public instead of
docs/.vitepress/dist.
2026-05-06 12:08:05 +02:00

20 lines
780 B
Plaintext

---
title: Django
description: Deploy Django applications on Coolify with gunicorn, automatic builds, environment variables, and Python package management.
---
# Django
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
## Requirements
1. Set the base directory where your `requirements.txt` and `manage.py` files are located.
> In the example repository, it is `/coolify`.
2. Add `gunicorn` to the `requirements.txt` file, [official docs](https://docs.gunicorn.org/en/stable/install.html).
3. Add `localhost` and your `domain` to `ALLOWED_HOSTS` in `settings.py` file, [ official docs](https://docs.djangoproject.com/en/4.2/ref/settings/#allowed-hosts).
> `Localhost` is required for health checks to work properly.