Docker
The published Docker image installs the core package by default:
Auto mode
Point PrivateGPT at your LLM server. Models are discovered automatically — no config file needed.
Passing an API key
If your LLM server requires authentication:
Build locally
If you want to build the image from source (e.g. after code changes):
Build from source
Then replace zylonai/private-gpt:latest with private-gpt in any docker run command above.
To add optional features when building your own image, pass explicit extras:
Persisting data
By default, ingested documents and local data are stored inside the container and lost on restart. Mount a volume to persist them:

