Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add Docker Compose support for local development #1626

Open
unlikelyzero opened this issue Mar 9, 2025 · 0 comments
Open

[Feature] Add Docker Compose support for local development #1626

unlikelyzero opened this issue Mar 9, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@unlikelyzero
Copy link

Overview

Add Docker Compose configuration to simplify local development setup and provide containerized environment consistency for the Cypress Real World App.

Proposed Changes

  • Add docker-compose.yml for orchestrating frontend and backend services
  • Add Dockerfiles for frontend and backend services
  • Update documentation in README.md with Docker setup instructions
  • Add Docker-specific environment configuration

Technical Details

  • Create Dockerfile.frontend and Dockerfile.backend using Node 22.13.0 base image
  • Configure Docker Compose services:
    • Frontend service (port 3000)
    • Backend service (port 3001)
  • Set up volume mounts for:
    • Source code for development
    • Data persistence (database.json)
  • Add Docker-specific npm scripts for common operations

Documentation Updates

Add new section to README.md covering:

  • Docker prerequisites
  • Docker Compose setup instructions
  • Docker-specific commands and usage
  • Development workflow with Docker
@jennifer-shehane jennifer-shehane added the enhancement New feature or request label Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants