PrivGPT Quick Start
A fast baseline setup for a governed RAG backend behind OpenWebUI, based on the current PrivGPT project structure.
Setup Steps
- Run the core stack with Docker Compose: Postgres + pgvector, Ollama, API, Worker, Admin, Keycloak, and optionally OpenWebUI.
- Set `DATABASE_URL` and baseline env variables for API/Worker, then run Prisma migrations for the database schema.
- Create connector entries in Admin (for example local folder, Google Drive, SharePoint, or OneDrive) and define role rules for ACL mapping.
- Ensure users have matching Keycloak workspace roles so retrieval can access expected sources.
- Run ingestion and verify documents/chunks are present with the expected ACL roles.
- Point OpenWebUI to PrivGPT `/v1/chat/completions` and set OpenAPI auth mode to OAuth token.
- Validate governed behavior with test prompts and confirm sources/audit events are captured.