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.
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
Make sure you have installed:
- Docker
- Clone the repository:
git clone https://github.com/Bondaliname/dockerization_todolist.git
cd dockerization_todolist- Start the application using Docker Compose:
docker-compose --env-file .env.example up --build- Open your browser and navigate to:
http://localhost:8000
- Check container status:
docker-compose ps- View logs:
docker-compose logs -f- Verify database connection:
docker-compose exec web python manage.py showmigrationsTo 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 --volumesThe 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.