π Enterprise-grade Cheshire Cat AI deployment that runs locally with cloud-level features
A production-ready local deployment of Cheshire Cat AI that delivers enterprise-grade features without the complexity and costs of cloud infrastructure. Perfect for teams wanting professional AI capabilities while maintaining full control.
-
π³ Docker Services:
- NGINX: Powerful web server and reverse proxy for load balancing and SSL termination
- CHESHIRECAT AI: Core AI system with advanced language capabilities and plugin architecture
- QDRANT: High-performance vector database for semantic search and AI memory storage
-
β Kubernetes/Helm Options:
- Static Manifests: Quick K3s deployment with predefined configurations
- Helm Charts: Advanced templating with production-ready configurations and secrets management
- π‘οΈ Container Isolation & security
- π Horizontal Scale Ready architecture
- π Zero-Downtime Updates capability
- πΏ Persistent Storage with volume mounts
- π Sub-5ms Response Times for user queries
- π³ Docker & Docker Compose or Podman (version >= 5.4.2) OR
- βΈοΈ K3s/Kubernetes cluster with kubectl configured OR
- β Helm 3.0+ for advanced Kubernetes deployments
- π» 4GB RAM minimum (8GB recommended)
- π 2 CPU cores minimum
- π οΈ Make (usually pre-installed on Linux/macOS)
# Clone the repository
git clone https://github.com/federicopalma-pro/Stregatto-Production-Ready.git
cd Stregatto-Production-Ready
# π³ Docker deployment (one command!)
make docker-up
# βΈοΈ OR K3s deployment (one command!)
make k3s-deploy
# β OR Helm deployment (production-ready!)
helm install cheshire-cat helm/cheshire-cat --namespace cheshire-cat --create-namespace
β That's it!
- Docker: Access at http://localhost/auth/login
- K3s: Access at http://localhost:30080/auth/login
- Helm: Access at http://localhost:30080/auth/login (configurable)
make help # π Show all available commands
make env # π Generate secure environment keys
make docker-up # π³ Start Docker deployment
make docker-down # π Stop Docker deployment
make k3s-deploy # βΈοΈ Deploy to K3s/Kubernetes
make k3s-cleanup # ποΈ Clean up K3s deployment
make k3s-status # π Check K3s deployment status
For production environments, use our comprehensive Helm chart:
# Generate secure keys first
make env
# Quick deployment
helm install cheshire-cat helm/cheshire-cat --namespace cheshire-cat --create-namespace
# Production deployment with custom values
helm install cheshire-cat helm/cheshire-cat \
-f helm/cheshire-cat/values-production.yaml \
--namespace cheshire-cat-prod --create-namespace
# Upgrade existing deployment
helm upgrade cheshire-cat helm/cheshire-cat --namespace cheshire-cat
# Uninstall
helm uninstall cheshire-cat --namespace cheshire-cat
π― Why Helm?
- β Production-Ready: Advanced configuration options
- β Templating: Dynamic values and environment-specific configs
- β Versioning: Easy upgrades and rollbacks
- β Packaging: Distributable chart packages
- β Secrets Management: Secure handling of API keys and JWT tokens
π View Helm Chart Documentation β
Click to expand manual installation steps
# Generate environment keys
scripts/generate-env.sh
# Start Docker services
cd docker && docker-compose up -d
# Generate environment keys
scripts/generate-env.sh
# Deploy to K3s (static manifests)
scripts/k3s-deploy.sh
# Generate environment keys
scripts/generate-env.sh
# Deploy with Helm
cd helm/cheshire-cat
helm install cheshire-cat . --namespace cheshire-cat --create-namespace
We provide multiple ways to generate secure API keys and JWT secrets:
make env # Generate secure environment keys
scripts/generate-env.sh # Linux/macOS
powershell -ExecutionPolicy Bypass -File scripts/generate-env.ps1 # Windows (PowerShell)
# Copy sample and edit manually
cp .env-sample .env
nano .env
- JWT_SECRET (64 chars): For user authentication tokens
- API_KEY (32 chars): For REST API authentication
- API_KEY_WS (32 chars): For WebSocket connections
- QDRANT_API_KEY (32 chars): For vector database access
All keys use cryptographically secure random generation with proper entropy.
π NGINX Reverse Proxy (Port 80 β Load Balancer)
β
βΌ
π± Cheshire Cat Core (Python FastAPI Application)
βββ π§ LLM Integration
βββ π Embedder Service
βββ π§© Plugins System
βββ π€ Auth Management
β
βΌ
πΎ Data Layer
βββ π Qdrant Vector DB
βββ π JSON Config
βββ π Static Files
βββ π§© Plugins Storage
Made with β€οΈ for the AI community