Skip to content

Bondaliname/dockerization_todolist

Repository files navigation

Django-Todolist

A task management application (Todo List) built with Django. This project is designed to demonstrate skills in working with Django, Docker, and Docker Compose for portfolio purposes.

Architecture

The project uses:

  • Docker - for containerizing the Django application
  • MySQL - as the database in a separate Docker container
  • Docker Compose - for orchestrating the multi-container application

Running Locally

Prerequisites

Make sure you have installed:

  • Docker

Setup Instructions

  1. Clone the repository:
git clone https://github.com/Bondaliname/dockerization_todolist.git
cd dockerization_todolist
  1. Start the application using Docker Compose:
docker-compose --env-file .env.example up --build

Verifying the Application

  1. Open your browser and navigate to:
http://localhost:8000
  1. Check container status:
docker-compose ps
  1. View logs:
docker-compose logs -f
  1. Verify database connection:
docker-compose exec web python manage.py showmigrations

Cleanup

To stop and remove all containers, networks, and volumes:

# Stop containers
docker-compose down

# Remove containers along with volumes (database data)
docker-compose down -v

# Remove images as well
docker-compose down -v --rmi all

# Complete cleanup (including unused resources)
docker system prune -a --volumes

Configuration

The project includes a .env.example file with sample environment settings.

You can create your own .env file based on .env.example to customize the settings.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors