Django Monolith
A Django app connected to a Postgres database with Celery and Celery Beat.
Postgres
railwayapp-templates/postgres-ssl:16
Just deployed
/var/lib/postgresql/data
Redis
bitnami/redis:7.2.5
Just deployed
/bitnami
App Service
unicodeveloper/deploy-django-on-railway
Just deployed
Worker Service
unicodeveloper/deploy-django-on-railway
Just deployed
Cron Service
unicodeveloper/deploy-django-on-railway
Just deployed
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
Template Content
Redis
bitnami/redis:7.2.5App Service
unicodeveloper/deploy-django-on-railwayWorker Service
unicodeveloper/deploy-django-on-railwayCron Service
unicodeveloper/deploy-django-on-railway