Skip to content

Modern containerized boilerplate for Django & React projects. With batteries included. Django | React | Nginx | Redis | Celery | PostgreSQL

Notifications You must be signed in to change notification settings

tolopsy/dockerised-django-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerised Django-React

A modern production-ready boilerplate for Django & React (full-stack) projects. Setup with Docker

Services

  • django: Backend. Served with Gunicorn
  • react: Frontend
  • nginx: Serves production build of the frontend and acts as reverse proxy for the backend.
  • redis: Message broker for Celery
  • celery: Asynchronous task queue
  • db: Postgres database

Usage

  • docker compose build : Build the services.
  • docker compose up : Start all the services in their respective containers.
  • docker compose down: Stop all services.
  • docker compose run --rm <service> <command> : Run one-off commands on any service. For instance: If you want to run migrations in the django service, you can execute docker compose run --rm django python3 manage.py migrate

About

Modern containerized boilerplate for Django & React projects. With batteries included. Django | React | Nginx | Redis | Celery | PostgreSQL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published