zAbuQasem / Dockerized-Django

Dockerized-Django made to make your life a bit easier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo Django Application

Description

If you are searching for a simple, configurable Django application to apply what you learned through docker and kubernetes courses, this is the repo you need. This application was made to make your life a bit easier!

image

Usage

  1. Clone the repository
git clone https://github.com/zAbuQasem/Dockerized-Django.git
cd Dockerized-Django
  1. [Optional] Configure Environment variables
mv env.example .env
  1. Build Docker Image
docker build -t dockerized-django .
  1. Run
# Without env
docker run -d -p 8000:8000 dockerized-django

# With env
docker run --env-file .env -d -p 8000:8000 dockerized-django

Useful Endpoints

  1. /healthz: For health checks.

About

Dockerized-Django made to make your life a bit easier


Languages

Language:Python 70.4%Language:HTML 22.3%Language:Dockerfile 6.2%Language:Shell 1.2%