Skip to content

Docker Compose for self-hosted deployment #27

Description

@adaamko

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions