---
title: "Deploy Django Monolith"
description: "A Django app connected to a Postgres database with Celery and Celery Beat."
category: "Starters"
url: https://railway.com/deploy/yZDfUu
---

# Deploy Django Monolith

A Django app connected to a Postgres database with Celery and Celery Beat.

**[Deploy Django Monolith on Railway](https://railway.com/template/yZDfUu)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/yZDfUu/manifest.json

- **Creator:** Odogwu Machalla's Projects
- **Category:** Starters
- **Total deploys:** 64

## Template content

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:16

### Redis https://devicons.railway.app/i/redis.svg

- **Image:** bitnami/redis:7.2.5

### App Service

- **Source:** https://github.com/unicodeveloper/deploy-django-on-railway
- **Public domain:** Yes

### Worker Service

- **Source:** https://github.com/unicodeveloper/deploy-django-on-railway
- **Start command:** `celery -A liftoff worker -l info`

### Cron Service

- **Source:** https://github.com/unicodeveloper/deploy-django-on-railway
- **Start command:** `celery -A liftoff beat -l info`

## Documentation

## Overview

Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source.

This Django starter template deploys a Django app as a majestic monolith that is connected to a PostgreSQL database and Redis Cache on Railway.

It spins up 5 services (with the same codebase) in one project. They are:

**app service:** This runs the app.

**worker service:** This runs the Celery workers.

**cron service:** This runs Celery Beat and takes care of all cron tasks.

**Postgres:** This is the PostgreSQL database that the app is connected to.

**Redis:** This is the queue and cache store/database that the app is connected to.

## Highlights
- Ridiculously fast
- Reassuringly secure
- Exceedingly scalable
- Fully loaded
- Incredibly versatile

## Similar templates

- [Openfront Gym](https://railway.com/deploy/openfront-gym) — Opensource Mindbody alternative based on Next.js and Keystone.js
- [open-excalidraw](https://railway.com/deploy/open-excalidraw) — Self-hostable collaborative drawing built on Excalidraw
- [Next.js + Prisma + PostgreSQL Starter](https://railway.com/deploy/nextjs-prisma-postgres) — Deploy a Next.js app with Prisma ORM and PostgreSQL in one click.

Open this page in a browser: https://railway.com/deploy/yZDfUu
