Overview
Mimir AIP can be deployed in two ways:- Docker Compose — Ideal for local development and testing. Quick to set up but does not support worker jobs.
- Kubernetes with Helm — Full production deployment with worker job execution, horizontal scaling, and multi-cluster support.
Docker Compose Installation
Prerequisites
Docker
Version 20.10 or later
Docker Compose
Version 2.0 or later
Git
For cloning the repository
Installation Steps
Start the Services
- Orchestrator on port 8080
- Frontend on port 3000
- Persistent volume for SQLite database
Limitation: Docker Compose deployment does not support worker jobs. Pipeline execution, ML training, inference, and digital twin synchronization require Kubernetes.
Configuration
Customizedocker-compose.yaml to adjust settings:
docker-compose.yaml
Environment Variables Reference
Environment Variables Reference
| Variable | Default | Description |
|---|---|---|
ENVIRONMENT | production | Runtime environment label |
LOG_LEVEL | info | Log verbosity level |
PORT | 8080 | Orchestrator HTTP port |
STORAGE_DIR | /app/data | Directory for SQLite database and file storage |
MIN_WORKERS | 1 | Minimum concurrent worker jobs (Kubernetes only) |
MAX_WORKERS | 10 | Maximum concurrent worker jobs (Kubernetes only) |
QUEUE_THRESHOLD | 5 | Queued tasks before spinning up additional workers |
Kubernetes Installation
Prerequisites
Kubernetes
Cluster version 1.25 or later
kubectl
Configured to access your cluster
Helm
Helm 3.0 or later installed
Installation Steps
Install with Helm
Install Mimir AIP using the provided Helm chart:
The chart uses public images from
What gets deployed?
What gets deployed?
The Helm chart deploys:
- Orchestrator deployment with persistent storage
- Frontend deployment
- Services for orchestrator and frontend
- RBAC resources (ServiceAccount, ClusterRole, ClusterRoleBinding)
- NetworkPolicy resources (if enabled)
- ConfigMap for worker cluster configuration
- PersistentVolumeClaim for SQLite database (10Gi by default)
ghcr.io/mimir-aip — no manual build or registry authentication required.Access the Services
Forward ports to access the services locally:Access the services at:
- Web Frontend: http://localhost:3000
- Orchestrator API: http://localhost:8080
- MCP SSE Endpoint: http://localhost:8080/mcp/sse
Configuration Options
Pin a Specific Version
Use Custom Storage Class
Custom Values File
Create amy-values.yaml file:
my-values.yaml
Multi-Cluster Configuration
Mimir AIP supports dispatching workers to multiple Kubernetes clusters for edge and cloud deployments.Multi-Cluster Setup
Multi-Cluster Setup
Add remote clusters to your values file:Workers will overflow to these clusters in declaration order once the primary cluster reaches capacity.
my-values.yaml
Upgrading
Upgrade to a new release:Uninstalling
Uninstall Mimir AIP (PVC is retained by default):Building Custom Images
If you need to modify the source code and build custom images:Prerequisites
Go
Version 1.21 or later
Docker
For building images
Build and Push Images
Build All Images
${REGISTRY}/orchestrator:latest${REGISTRY}/worker:latest${REGISTRY}/frontend:latest
Individual Image Builds
Local Development
Run components locally without Docker:Troubleshooting
Pod not starting
Pod not starting
Check pod logs:Common issues:
- Image pull errors: Verify registry and image tags
- PVC pending: Check storage class and cluster storage provisioner
- Crash loops: Check environment variables and database initialization
PersistentVolumeClaim pending
PersistentVolumeClaim pending
Check PVC status:Solutions:
- Verify your cluster has a default storage class:
kubectl get storageclass - Specify a storage class explicitly:
--set orchestrator.persistence.storageClass=standard - Check storage provisioner logs
Worker jobs not spawning
Worker jobs not spawning
Verify RBAC permissions:Check orchestrator logs for job creation errors:
Port-forward not working
Port-forward not working
Check service status:Verify pod is running:Try direct pod port-forward:
Helm upgrade failed
Helm upgrade failed
Roll back to previous release:Check release history:
Next Steps
Create Your First Project
Learn how to create and manage projects
Build a Pipeline
Design data ingestion and processing pipelines
MCP Integration
Connect AI agents to Mimir AIP
API Reference
Explore the REST API