◆docpipe
Product
Docs
GitHubPyPI v0.7.0
All documentation

Control plane

Configure optional operator persistence and endpoints.

Control Plane

An optional SQLite or Postgres metadata store for operator login and explicitly enabled audit/job records. It is separate from vector and RAG data.

Source: Control-plane configuration and persistence
Environment
# Optional operator metadata store, separate from vector/RAG data.
DOCPIPE_CONTROL_DB_ENABLED=true
DOCPIPE_CONTROL_DB_PATH=/data/docpipe.db
DOCPIPE_ADMIN_PANEL_ENABLED=true
DOCPIPE_PERSIST_AUDIT_EVENTS=true
DOCPIPE_PERSIST_INGEST_JOBS=false

# Seed operator login on first boot; use a managed secret in production.
DOCPIPE_USERNAME=admin
DOCPIPE_PASSWORD=<secret>
VariablePurpose
DOCPIPE_CONTROL_DB_ENABLEDEnable the control-plane database
DOCPIPE_CONTROL_DB_PATHSQLite path (Docker default: /data/docpipe.db)
DOCPIPE_PERSIST_AUDIT_EVENTSPersist plugin policy and resolution audit rows
DOCPIPE_PERSIST_INGEST_JOBSPersist ingest job metadata, not document content
DOCPIPE_ADMIN_PANEL_ENABLEDEnable the operator panel

Migrations run when the server starts with control DB enabled. See `docs/CONTROL_DB.md` in the Docpipe repository for database and persistence details.