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!
- Clone the repository
git clone https://github.com/zAbuQasem/Dockerized-Django.git
cd Dockerized-Django
- [Optional] Configure Environment variables
mv env.example .env
- Build Docker Image
docker build -t dockerized-django .
- Run
# Without env
docker run -d -p 8000:8000 dockerized-django
# With env
docker run --env-file .env -d -p 8000:8000 dockerized-django
/healthz
: For health checks.