Skip to content

feat: Add Docker Compose support for local development #990

@Ashvin-KS

Description

@Ashvin-KS

Description

DevTrack currently lacks Docker support for local development. Adding Docker Compose will streamline the setup process for new contributors and ensure consistent development environments across different machines.

Problem Statement

The current setup process requires manual installation and configuration of multiple dependencies. Without Docker:

  • New contributors face a steep setup curve
  • Environment inconsistencies cause "works on my machine" issues
  • The CI pipeline runs locally but is not reproducible in a containerized environment

Proposed Solution

Add Docker support at the project root:

  1. Dockerfile — Multi-stage build for the Next.js application
  2. docker-compose.yml — Define app service with:
    • Application container (Next.js dev server)
    • Volume mounts for hot reload
    • Environment variable passthrough
    • Port mapping (default :3000)

Acceptance Criteria

  • Dockerfile created at project root with multi-stage build
  • docker-compose.yml created with app service configuration
  • docker compose up --build starts the app successfully
  • Hot reload works with volume mounts in dev mode
  • Documentation added in README or CONTRIBUTING.md about Docker setup

GSSoC

  • I am a registered GSSoC 2026 contributor
  • I would like to implement this feature myself

Metadata

Metadata

Assignees

Labels

gssoc:assignedGSSoC: Issue assigned to a contributor

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions