This project is a basic setup of:
Django, DRF
- Web frameworkCelery, Celery beat, Redis, Flower
- Queues and asyncPostgreSQL
- Relational databaseTraefik
- Reverse proxyDocker, Docker Compose
- Application containerization
- Docker
- Docker Compose
- Clone this repository
- Run
docker-compose --env-file .env up -d
to build and start the containers - Access the Django app at
http://localhost
- Access Flower monitoring tool at
http://localhost:5555
- Access Traefik dashboard at
http://localhost:8080
- Start the containers:
docker-compose up -d
- Stop the containers:
docker-compose stop
- Remove the containers:
docker-compose down
- View logs:
docker logs <service> -f --tail 500 --follow