Docker Compose _ Django _ PostgreSQL _ Redis & Celery Baseline Configuration.

using python3 lightweight “alphine –version”

Getting started on linux , windows remove {sudo } command.

    1. sudo docker-compose build
    1. sudo docker-compose run –rm app django-admin startproject {Your project name here} .
    1. sudo docker-compose up

open another terminal window. Leave the previus running the docker container.

    1. docker exec -it django_app sh
    1. Add celery.py file to your root app(Where settings.py is available) the configure
    1. Add yours tasks in your prefered django app
    1. Remember to register all your apps in settings.py

Youre all set to go ?

Work on progress

    1. CI/CD config
    1. DRF and API documentation(Postman/Swagger/Redoc)
    1. Full production Authentication + React Dashboard.

Your can contribute to this project to help others.

contacts:

? +254758578816

✉️ [email protected]

Buy me coffee

https://www.buymeacoffee.com/danielmawioo

GitHub

View Github