mirror of
https://github.com/coollabsio/coolify-docs.git
synced 2026-06-19 07:35:55 +00:00
a64450ae9d
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.
20 lines
780 B
Plaintext
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.
|