Feat:Add Docker configuration for client and server, including .docke…#218
Feat:Add Docker configuration for client and server, including .docke…#218YogeshVenugopal wants to merge 3 commits intoadrianhajdin:PART_1_and_2from
Conversation
WalkthroughAdds Dockerization: multi-stage Dockerfiles for client and server, .dockerignore files ignoring Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant U as User
participant FE as Frontend (docker-compose: frontend-dev)
participant BE as Backend (docker-compose: backend-dev)
participant DB as MongoDB (docker-compose: db)
rect rgba(220,240,255,0.16)
note right of DB: Healthcheck: mongosh ping\n(`service_healthy` used by backend)
DB-->>docker-compose: healthy
end
rect rgba(220,255,220,0.12)
note over FE,BE: docker-compose startup order\nDB → backend-dev → frontend-dev
docker-compose->>DB: start
docker-compose->>BE: start (after DB healthy)
docker-compose->>FE: start (after BE)
end
U->>FE: HTTP GET :3000
FE->>BE: API request :5000
BE->>DB: Query :27017
DB-->>BE: Result
BE-->>FE: JSON response
FE-->>U: Rendered UI
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (5)
client/.dockerignore(1 hunks)client/Dockerfile(1 hunks)docker-compose.yaml(1 hunks)server/.dockerignore(1 hunks)server/Dockerfile(1 hunks)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
YogeshVenugopal
left a comment
There was a problem hiding this comment.
I have change the things in the docker files
Created Dockerfile for client, server and Database 😄
Summary by CodeRabbit