Skip to content

Feature Request: Full Docker Support for Frontend & Backend (FE + BE)Β #806

@Orace227

Description

@Orace227

🚒 Feature Request: Full Docker Support for Frontend & Backend (FE + BE)

πŸ“Œ Summary

Currently, the project runs locally using standard Node-based setup.
It would be very helpful to provide fully configured Docker support so contributors and users can run the frontend and backend directly via Docker without manual environment setup.

This issue proposes adding Docker images and Docker Compose configuration for both FE and BE.


🎯 Motivation / Why This Is Needed

  • Simplifies local development setup for new contributors
  • Ensures consistent environments across machines
  • Makes backend services easier to run, test, and deploy
  • Improves onboarding experience
  • Prepares the project for production-ready workflows

βœ… Proposed Solution

Backend (Express / API)

  • Add Dockerfile for backend service
  • Use multi-stage build (dev + prod)
  • Support .env via Docker environment variables
  • Expose required ports
  • Run backend completely inside Docker

Frontend (Web / App)

  • Add Dockerfile for frontend
  • Support development and production builds
  • Expose frontend port
  • Allow FE to communicate with BE via Docker network

Docker Compose

  • Add docker-compose.yml at repo root
  • Run FE + BE together using a single command
  • Shared network configuration
  • Optional volume mounting for development

πŸ“‚ Expected File Structure

/
β”œβ”€ apps/
β”‚  β”œβ”€ frontend/
β”‚  β”‚  └─ Dockerfile
β”‚  β”œβ”€ backend/
β”‚  β”‚  └─ Dockerfile
β”œβ”€ docker-compose.yml
β”œβ”€ .dockerignore
└─ README.md (updated)

πŸ§ͺ Acceptance Criteria

  • [ βœ…] docker compose up starts frontend and backend successfully
  • [ βœ…] Backend runs fully inside Docker (no local Node required)
  • [ βœ…] Frontend can communicate with backend
  • [ βœ…] Environment variables are configurable
  • [ βœ…] README updated with Docker setup instructions

πŸ“– Documentation Updates

Add Docker setup section in README

Include:

  • Prerequisites
  • Commands to run
  • Ports used
  • Environment variables

🀝 Contribution Notes

I am willing to:

  • Implement Dockerfiles for FE & BE
  • Add docker-compose configuration
  • Update documentation
  • Iterate based on maintainer feedback

Please let me know if this approach aligns with the project vision before I start implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions