Skip to main content

Installation and administration

This section is for administrators: it covers installing, configuring, securing and operating ContextCrate. If you only want to use an existing installation, see Using ContextCrate. For the concepts behind the components, see Architecture.

The administrator's pathโ€‹

  1. Choose a deployment profile and install method (below).
  2. Install with Docker, Compose, the JAR or Kubernetes.
  3. Configure backends, ingestion defaults and model providers: Configuration, Embeddings, Reranking, Answers.
  4. Secure the installation: Security, single sign-on with OIDC, and the authorization model.
  5. Administer users, crate creation, model policy and shared models: Administration.
  6. Operate: health, metrics and scaling in Operations, topology in Deployment, crate export and recovery, upgrades, and Troubleshooting.

ContextCrate can run as a compact standalone application or as independently scalable distributed roles. Choose the smallest deployment that fits the workload, but use Kubernetes for production.

MethodUse it forProduction suitability
DockerFast local evaluation from a published imageSmall standalone deployments
Docker ComposeLocal development, standalone evaluation, or distributed evaluationStandalone only; distributed Compose is evaluation-only
JARLocal Java development and direct JVM operationSmall standalone deployments
KubernetesManaged, resilient, or scalable installationsRecommended

All methods require a non-default CONTEXTCRATE_ADMIN_PASSWORD. The default initial administrator is admin@contextcrate.local; change the email with CONTEXTCRATE_ADMIN_EMAIL when needed.

Deployment profilesโ€‹

The standalone profile runs every pipeline stage in one process using H2, filesystem artifacts, and Lucene. Persist /app/data because it contains application data and the local embedding-model cache.

The distributed profile separates the control plane, source workers, browser crawler, parser, and indexer. It uses PostgreSQL, RabbitMQ, S3-compatible object storage, and a search service: OpenSearch, Elasticsearch, Qdrant or PostgreSQL with pgvector (see Search backends). Use independently operated backing services, durable volumes, Kubernetes Secrets, and an Ingress with TLS for production.

See Deployment Notes, Configuration, and Operations for topology, environment variables, backups, and scaling guidance.

I want to...Page
Understand the topology of distributed mode and scale workersDeployment
Set backends, ingestion options and environment variablesConfiguration
Harden the installationSecurity
Add single sign-onOIDC
Create users, set the crate-creation policy, share modelsAdministration
Monitor health and metrics, import the Grafana dashboardOperations
Back up, move or recover cratesExport, import and recovery
Fix a startup or runtime problemTroubleshooting
Start using the installationUsing ContextCrate