Skip to content

Feature: Dockerize the Application #65

@yogeshsanodiya59-web

Description

@yogeshsanodiya59-web

Description
Currently, the application requires manual setup for running locally, which can be time-consuming and error-prone. Containerizing the application will ensure consistent environments across development, testing, and production.

Proposed Solution

  • Create a Dockerfile for the Spring Boot backend
  • Add a docker-compose.yml to orchestrate services
  • Include required services:
    • Backend (Spring Boot app)
    • Database (MySQL/PostgreSQL as per project config)

Tasks

  • Create Dockerfile with optimized build (multi-stage preferred)
  • Expose correct application port
  • Configure environment variables (DB URL, username, password)
  • Add docker-compose.yml
  • Connect backend service with database container
  • Ensure persistent DB storage using volumes
  • Test full setup using docker-compose up

Expected Outcome

  • One-command setup (docker-compose up) to run the entire application
  • Consistent environment across all machines
  • Easier onboarding for new contributors

Additional Context
This will significantly improve developer experience and deployment readiness.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions