Skip to content

Add Docker Compose setup for full-stack local development#15

Open
anshjaiswal12 wants to merge 1 commit intoClimate-Vision:mainfrom
anshjaiswal12:feature/docker-compose-setup
Open

Add Docker Compose setup for full-stack local development#15
anshjaiswal12 wants to merge 1 commit intoClimate-Vision:mainfrom
anshjaiswal12:feature/docker-compose-setup

Conversation

@anshjaiswal12
Copy link
Copy Markdown

Resolves #13.

What was added

  • Full docker-compose.yml configuration linking the FastAPI backend and React Vite frontend.
  • CPU optimization layer in the backend Dockerfile using the --extra-index-url pip parameter preventing multi-gigabyte NVIDIA GPU metadata from downloading recursively for local API contexts.
  • Advanced Volume caching preventing local container node cache collisions.
  • Clear onboarding instructions directly integrated within README.md.

How to test

  1. cp .env.example .env && cp frontend/.env.example frontend/.env
  2. Run docker-compose up -d --build
  3. See API running at http://localhost:8000/docs and frontend at http://localhost:5173

Why it improves DX

Local environment onboarding is extremely unified, ensuring engineers bypass OS-dependency nuances directly through Docker mappings orchestrating both ends simultaneously while maintaining HMR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Good First Issue] Add Docker Compose for full-stack local development

1 participant