Skip to content

mnako/cookiecutter-django-postgres-redis-celery

Repository files navigation

CI Status

Django/PostgreSQL/Redis/Celery in Docker cookiecutter

Quickstart guide:

pip install cookiecutter
cookiecutter gh:mnako/cookiecutter-django-postgres-redis-celery

and answer the questions.

This will give you a Docker-Compose project that includes:

  • Postgres database;
  • Redis;
  • Django project;
  • Celery worker;
  • Celery Beat.

To start your new project do:

cd <project_dir>
make up

wait for it to finish building and go and see your new project at localhost:8000.

To stop the containers do:

make down

To test your app do:

make test

To create an optimised production build do:

make build VERSION=0.0.0

To push the optimised images to the registry do:

make push VERSION=0.0.0