Summary
Add a docker-compose.yml (plus any required Dockerfiles) so contributors and users can spin up the full stack — FastAPI backend + React frontend — with a single docker compose up.
Motivation
Right now local setup requires manually installing Python deps, starting the API, and starting the frontend separately. A Compose file removes friction for evaluators and self-hosters.
Scope
Dockerfile for the FastAPI app (api/app.py)
Dockerfile for the React frontend (frontend/)
docker-compose.yml wiring both together, with OPENAI_API_KEY passed via environment
- Optional: mount a volume for the local Milvus DB so the index persists across restarts
- Update
README.md with a one-liner start command
Notes
- The API listens on port 8000; the frontend proxies to it at that address
- The frontend is a standard CRA app (
npm run build → static files)
- A CPU-only image is preferred (no CUDA requirement)
Summary
Add a
docker-compose.yml(plus any requiredDockerfiles) so contributors and users can spin up the full stack — FastAPI backend + React frontend — with a singledocker compose up.Motivation
Right now local setup requires manually installing Python deps, starting the API, and starting the frontend separately. A Compose file removes friction for evaluators and self-hosters.
Scope
Dockerfilefor the FastAPI app (api/app.py)Dockerfilefor the React frontend (frontend/)docker-compose.ymlwiring both together, withOPENAI_API_KEYpassed via environmentREADME.mdwith a one-liner start commandNotes
npm run build→ static files)