This project demonstrates the deployment of a multi-container application using Docker and Docker Compose on VMware Cloud Director virtual machines.
The application consists of multiple containers working together to provide a complete web application environment.
- VMware Cloud Director
- Ubuntu 22.04
- Docker
- Docker Compose
- Nginx
- Node.js
- MySQL
- Redis
- Git & GitHub
User Browser
│
▼
Frontend Container (Nginx)
│
▼
Backend Container (Node.js)
│
┌────┴────┐
▼ ▼
Redis MySQL
| Container | Purpose |
|---|---|
| Frontend | Hosts the web application using Nginx |
| Backend | Runs the Node.js API server |
| MySQL | Database service |
| Redis | Caching service |
- Multi-container deployment
- Docker Compose orchestration
- Container networking
- Persistent storage using volumes
- Port mapping
- Container logs and monitoring
- Service isolation
- Easy deployment and management
docker-multi-container-project/
│
├── frontend/
│ ├── Dockerfile
│ └── index.html
│
├── backend/
│ ├── Dockerfile
│ ├── server.js
│ └── package.json
│
├── .gitignore
├── docker-compose.yml
├── README.md
├── SETUP-GUIDE.md
├── Docker-Multi-Container-Documentation.pdf
└── Project Screenshots.pdf
docker compose build
docker compose up -d
docker psdocker images
docker ps
docker logs frontend
docker logs backend
docker network ls
docker volume ls
docker stats- Understanding Docker architecture
- Building Docker images
- Creating Docker containers
- Using Docker Compose
- Managing multi-container applications
- Container networking and volumes
- Real-world application deployment
Shivani Sharma