Description
Added Docker and Docker Compose configuration to containerize the
frontend, backend, MongoDB, and Redis services for easier local
development and deployment.
Use Case
Developers can spin up the entire application stack with a single
command docker compose up -d without manually installing and
configuring MongoDB, Redis, Node.js locally.
Proposed Solution
- Added Dockerfile for frontend and backend
- Added docker-compose.yml with 4 services: frontend, backend, mongodb, redis
- MongoDB auto-imports sample data on initialization
Additional Information
Tested on Ubuntu 24.04 (AWS EC2 t2.micro instance).
Requires at least 2GB swap on low memory machines.
Attachments
No response
Description
Added Docker and Docker Compose configuration to containerize the
frontend, backend, MongoDB, and Redis services for easier local
development and deployment.
Use Case
Developers can spin up the entire application stack with a single
command
docker compose up -dwithout manually installing andconfiguring MongoDB, Redis, Node.js locally.
Proposed Solution
Additional Information
Tested on Ubuntu 24.04 (AWS EC2 t2.micro instance).
Requires at least 2GB swap on low memory machines.
Attachments
No response