Skip to content

Darunesh1/django_postgre_docker

Repository files navigation

Django + PostgreSQL + Docker Template

A minimal, ready-to-use Django + PostgreSQL + Docker boilerplate — perfect for quickly starting new Django projects with a clean containerized setup.


🚀 Features

  • 🐍 Django backend pre-configured
  • 🐘 PostgreSQL database integration
  • 🧱 Dockerized for easy deployment
  • 🔧 Simple and reusable for any Django project

📦 Getting Started

1. Clone the Repository

git clone https://github.com/Darunesh1/django_postgre_docker.git
cd django_postgre_docker

2. Build Docker Images

docker compose build

3. Run the Containers

docker compose up

⚙️ Environment Variables

You can configure your own .env file for project-specific settings (optional):

POSTGRES_DB=your_db_name
POSTGRES_USER=your_username
POSTGRES_PASSWORD=your_password
DJANGO_SECRET_KEY=your_secret_key

About

Django + PostgreSQL + Docker Template – A lightweight, ready-to-use template to spin up a Django project with PostgreSQL in Docker. Ideal for jump-starting new projects with minimal setup.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors