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โ
- Choose a deployment profile and install method (below).
- Install with Docker, Compose, the JAR or Kubernetes.
- Configure backends, ingestion defaults and model providers: Configuration, Embeddings, Reranking, Answers.
- Secure the installation: Security, single sign-on with OIDC, and the authorization model.
- Administer users, crate creation, model policy and shared models: Administration.
- 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.
| Method | Use it for | Production suitability |
|---|---|---|
| Docker | Fast local evaluation from a published image | Small standalone deployments |
| Docker Compose | Local development, standalone evaluation, or distributed evaluation | Standalone only; distributed Compose is evaluation-only |
| JAR | Local Java development and direct JVM operation | Small standalone deployments |
| Kubernetes | Managed, resilient, or scalable installations | Recommended |
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.
What to read nextโ
| I want to... | Page |
|---|---|
| Understand the topology of distributed mode and scale workers | Deployment |
| Set backends, ingestion options and environment variables | Configuration |
| Harden the installation | Security |
| Add single sign-on | OIDC |
| Create users, set the crate-creation policy, share models | Administration |
| Monitor health and metrics, import the Grafana dashboard | Operations |
| Back up, move or recover crates | Export, import and recovery |
| Fix a startup or runtime problem | Troubleshooting |
| Start using the installation | Using ContextCrate |