Skip to content

[FEATURE] Add Docker and Docker Compose support for local development #523

Description

@Abhiii-shek

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureAdding new feature on top of the existing code

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions