-
Docker-compose
-
Setting Django app via environment variables
-
Separated settings for Dev and Prod django version
-
Docker configuration for nginx for 80 and/or 443 ports
-
Celery worker
-
Redis service for caching. Also like message broker for queue
-
RabbitMQ configuration
-
Debug mode (PyCharm Professional)
-
ASGI support for dev and prod
-
Flake8 integration
-
Swagger in Django Admin Panel
-
Ready for deploy by one click
-
Separated configuration for dev and prod (requirements and settings)
-
Redefined default User model (main.models.py)
git clone https://github.com/bandirom/DjangoTemplateWithDocker.git ./project_name
SUPERUSER_EMAIL=example@email.com
SUPERUSER_PASSWORD=secretp@ssword
MICROSERVICE_TITLE=MyProject
docker-compose up -d --build
docker-compose logs -f
Server will bind 8009 port. You can get access to server by browser http://localhost:8009
- Docker-compose health check
- PgBouncer