Docker Compose _ Django _ PostgreSQL _ Redis & Celery Baseline Configuration.
using python3 lightweight “alphine –version”
Getting started on linux , windows remove {sudo } command.
-
- sudo docker-compose build
-
- sudo docker-compose run –rm app django-admin startproject {Your project name here} .
-
- sudo docker-compose up
open another terminal window. Leave the previus running the docker container.
-
- docker exec -it django_app sh
-
- Add celery.py file to your root app(Where settings.py is available) the configure
-
- Add yours tasks in your prefered django app
-
- Remember to register all your apps in settings.py
Youre all set to go ?
Work on progress
-
- CI/CD config
-
- DRF and API documentation(Postman/Swagger/Redoc)
-
- Full production Authentication + React Dashboard.
Your can contribute to this project to help others.
contacts:
? +254758578816
Buy me coffee
https://www.buymeacoffee.com/danielmawioo