Common setup for django project as a template
Backend: Django>=3.2.4,<3.3.0
Database: Postgres:latest
Platform: Docker
Container Manage: docker-compose
You can fork this repository or
click the Use this template
button. to customize.
Otherwise.
Clone the project
git clone https://github.com/njmsaikat/django-postgres-setup-docker-compose.git
Go to the project directory
cd django-postgres-setup-docker-compose
Run command
docker-compose up --build
-
Django runs on port
8000
-
Postgresql runs on port
5432
All environment variables for the development environment are stored in directory
.env > dev.env
For support, email njmsaikat@gmail.com