Transform your home into a production-grade AI powerhouse
The Homie Orchestrator is the missing piece between simple Docker containers and complex Kubernetes clusters. Inspired by enterprise-grade supervisor architectures, it brings production-level container orchestration to your home AI infrastructure, edge devices, and self-hosted AI APIs with the simplicity you've been craving.
Stop wrestling with Docker Compose files and manual container management!
โจ One-click deployments - Deploy complex multi-container applications instantly
๐ก๏ธ Self-healing infrastructure - Automatic restarts, health monitoring, and failure recovery
๐ Zero-downtime updates - A/B update system inspired by modern mobile OS updates
๐ Built-in observability - Prometheus metrics, health dashboards, and real-time monitoring
๐พ Bulletproof backups - Automated, scheduled backups with one-click restore
๐ฎ Simple as a game console - Web UI so intuitive, your family can manage it
Perfect for:
- ๐ค AI Enthusiasts - Run homie_ai, Ollama, and other AI services privately and securely
- ๐ง AI Self-Hosters - Deploy your own ChatGPT alternatives, LLMs, and AI APIs at home
- ๐ Edge AI Computing - Jetson Nano, Raspberry Pi, and industrial AI deployments
- ๐จโ๐ป AI Developers - Local AI development environments that mirror production
- Drag-and-drop simplicity for container lifecycle management
- Smart dependency resolution - never worry about startup order again
- Resource optimization - automatic resource allocation and scaling
- Intelligent health monitoring with automatic remediation
- Predictive failure detection - fix problems before they happen
- Cascade failure prevention - one container failure won't bring down your entire stack
- RAUC-powered A/B updates - same technology used in Tesla cars and Android phones
- Rollback in seconds - if something goes wrong, instantly revert
- Zero-downtime deployments - update while your services keep running
- Real-time dashboards with beautiful visualizations
- Prometheus metrics out of the box - no configuration needed
- Smart alerting - get notified before problems become disasters
- Isolated container environments with network segmentation
- Automatic security updates for base images
- Secret management - no more passwords in plain text
- GitOps workflow - manage everything through code
- Hot reloading in development mode
- One-command deployment from development to production
Built on battle-tested principles from the world's most reliable systems:
Client Layer:
โโโ ๐ฎ Web UI
โโโ ๐ฑ Mobile App
โโโ ๐ค CLI Tool
โ
Orchestration Layer:
โโโ ๐ง Orchestrator (FastAPI + Redis)
โ
Service Layer:
โโโ ๐ณ Container Manager
โโโ ๐ฅ Health Monitor
โโโ ๐พ Backup Manager
โ
Data Layer:
โโโ ๐๏ธ PostgreSQL Database
Why This Architecture Rocks:
- ๐ Microservices done right - each component has a single responsibility
- ๐ Horizontally scalable - add more orchestrator instances as you grow
- ๐ก๏ธ Fault tolerant - Redis clustering and PostgreSQL replication ready
- ๐ API-first design - build any interface you want
curl -fsSL https://get.homieos.com/install.sh | bash
That's it! The installer will:
- ๐ Detect your platform (Jetson Nano, Raspberry Pi, x86_64)
- ๐ Setup Docker and dependencies
- ๐๏ธ Configure RAUC for bulletproof updates
- ๐ฎ Launch the beautiful web interface
- ๐ Start monitoring your system
Step 1: Clone the future
git clone https://github.com/homie/orchestrator.git
cd homie_orchestrator
Step 2: Launch mission control
make dev-up
# Or the traditional way:
# docker-compose up -d
Step 3: Access your new superpower
open http://localhost:8080 # ๐ฎ Web interface
curl http://localhost:8080/health # ๐ค API health check
# services/minecraft.yaml
services:
minecraft:
image: "itzg/minecraft-server:latest"
enabled: true
environment:
EULA: "TRUE"
MEMORY: "2G"
ports:
- "25565:25565"
volumes:
- "./data/minecraft:/data"
labels:
io.homie.backup: "true" # ๐พ Automatic backups!
io.homie.monitor: "true" # ๐ฅ Health monitoring!
Deploy it:
homie deploy services/minecraft.yaml
# Watch the magic happen in real-time! โจ
# One file to rule them all!
services:
homie_ai:
image: "homie/ai:latest"
ports:
- "8080:8080" # Open WebUI
- "3000:3000" # React Chat Interface
- "11434:11434" # Ollama API
volumes:
- "./data/homie_ai:/data"
labels:
io.homie.category: "ai"
io.homie.backup: "daily"
ollama:
image: "ollama/ollama:latest"
ports: ["11434:11434"]
volumes: ["./data/ollama:/root/.ollama"]
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
open_webui:
image: "ghcr.io/open-webui/open-webui:main"
ports: ["8080:8080"]
volumes: ["./data/open_webui:/app/backend/data"]
depends_on: ["ollama"]
Deploy with one command:
homie stack deploy ai-platform
# ๐ Your entire AI infrastructure is live!
services:
postgres:
image: "postgres:15"
environment:
POSTGRES_DB: "ai_training"
POSTGRES_USER: "dev"
POSTGRES_PASSWORD: "dev123"
labels:
io.homie.dev: "true" # ๐ฅ Hot reload database
redis:
image: "redis:7-alpine"
labels:
io.homie.dev: "true"
ai_api:
image: "ai_api:dev"
volumes:
- "./src:/app/src" # ๐ Live code updates
environment:
DATABASE_URL: "postgresql://dev:dev123@postgres:5432/ai_training"
REDIS_URL: "redis://redis:6379"
depends_on: ["postgres", "redis"]
labels:
io.homie.dev: "true"
io.homie.hot-reload: "true" # ๐ Auto-restart on changes
# Perfect for Jetson Nano, Raspberry Pi, industrial AI
services:
ai-inference:
image: "nvcr.io/nvidia/triton:latest"
runtime: "nvidia" # ๐ GPU acceleration
volumes:
- "./models:/models"
labels:
io.homie.gpu: "required"
io.homie.priority: "high"
ai-metrics-collector:
image: "telegraf:latest"
privileged: true
volumes:
- "/proc:/host/proc:ro"
- "/sys:/host/sys:ro"
labels:
io.homie.monitoring: "system"
ai-dashboard:
image: "grafana/grafana:latest"
ports: ["3000:3000"]
volumes: ["./data/grafana:/var/lib/grafana"]
depends_on: ["ai-metrics-collector"]
Feature | Homie Orchestrator | Docker Compose | Kubernetes | Portainer |
---|---|---|---|---|
Setup Time | โก 30 seconds | ๐ 5 minutes | ๐ฑ 2+ hours | ๐ 2 minutes |
Learning Curve | ๐ฎ Game-like | ๐ Moderate | ๐งโโ๏ธ Steep cliff | ๐ฏ Easy |
A/B Updates | โ Built-in | โ Manual | โ Complex | โ None |
Auto-healing | โ Intelligent | โ Basic restart | โ Advanced | โ Manual |
Resource Usage | ๐ชถ Lightweight | ๐ชถ Minimal | ๐ Heavy | ๐ง Medium |
Edge AI Devices | โ Optimized | โก Good | โ Overkill | ๐ง OK |
Family-Friendly | ๐ฎ Yes! | ๐จโ๐ป Nerds only | ๐ฑ PhD required | ๐ง Technical |
The Homie Difference:
- ๐ง Smart by default - No configuration bikeshedding
- ๐ค Purpose-built for home AI - Not adapted from enterprise
- ๐ Modern architecture - Built with 2025 best practices
- ๐ฎ Consumer-grade UX - Your family can actually use it
Available actions for containers:
start
- Start a stopped containerstop
- Stop a running containerrestart
- Restart a containerremove
- Remove a container (with optional force)
Example:
curl -X POST http://localhost:8080/api/v1/containers/homie_core/action \
-H "Content-Type: application/json" \
-d '{"action": "restart", "timeout": 30}'
Services are defined in the configuration file or can be created via API:
services:
my_service:
image: "nginx:latest"
enabled: true
restart_policy: "unless-stopped"
environment:
ENV_VAR: "value"
ports:
- "80:80"
volumes:
- "./data/nginx:/usr/share/nginx/html"
depends_on:
- postgres
labels:
io.homie.managed: "true"
io.homie.service: "my_service"
Backups are automatically created based on the configured schedule. They include:
- Configuration files
- Service data directories
- Metadata about the backup
# Via API
POST /api/v1/backup
{
"services": ["homie_core", "postgres"] # Optional: specific services
}
# Via API
POST /api/v1/restore
{
"backup_filename": "orchestrator_backup_20250118_120000.tar.gz"
}
The orchestrator provides Prometheus-compatible metrics at /metrics
:
orchestrator_containers_managed_total
- Number of managed containersorchestrator_container_status
- Container status (1=running, 0=stopped, -1=error)orchestrator_health_check_status
- Health check resultsorchestrator_api_requests_total
- API request countsorchestrator_uptime_seconds
- Orchestrator uptime
homie_orchestrator/
โโโ src/orchestrator/ # Main application code
โ โโโ main.py # Application entry point
โ โโโ config.py # Configuration management
โ โโโ core/ # Core components
โ โ โโโ container_manager.py
โ โ โโโ health_monitor.py
โ โ โโโ scheduler.py
โ โ โโโ backup_manager.py
โ โ โโโ database.py
โ โโโ api/ # REST API
โ โโโ router.py
โ โโโ models.py
โ โโโ dependencies.py
โโโ config/ # Configuration files
โโโ data/ # Persistent data
โโโ backups/ # Backup storage
โโโ docker-compose.yml # Docker Compose configuration
โโโ Dockerfile.orchestrator # Orchestrator container
โโโ requirements.txt # Python dependencies
โโโ cli.py # Command-line interface
- Install dependencies:
pip install -r requirements.txt
- Set environment variables:
export ORCHESTRATOR_CONFIG_PATH=/path/to/config
export ORCHESTRATOR_DATA_PATH=/path/to/data
- Run the orchestrator:
python -m src.orchestrator.main
- The orchestrator runs with privileged Docker access
- Secure the API with authentication in production
- Use environment variables for sensitive configuration
- Regularly update container images
- Monitor access logs and metrics
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Submit a pull request
MIT License - see LICENSE file for details.
๐ Early Adopter Bonuses:
- Free homie_ai integration tool - Connect your self-hosted AI services in one click
- Premium AI templates library - 50+ pre-built AI service configurations
- Priority support - Direct access to the core team
- Beta access - Try new AI features before anyone else
- ๐ฌ Discord Community - Real-time help and inspiration
- ๐บ YouTube Tutorials - From zero to AI hero in visual guides
- ๐ AI Template Exchange - Share and discover amazing AI configurations
- ๐ Show & Tell - Weekly showcases of incredible AI builds
Coming Soonโข:
- ๐ฎ Visual AI workflow builder - Drag & drop AI service connections
- ๐ฑ Mobile app - Manage your home AI from anywhere
- ๐ค AI-powered optimization - Automatic resource allocation for AI workloads
- ๐ Multi-site AI management - Orchestrate AI services across multiple locations
- ๐ Zero-trust networking - Enterprise security for home AI infrastructure
# Join thousands of happy AI self-hosters!
curl -fsSL https://get.homie.io/install.sh | bash
Questions? We're here to help!
- ๐ง Email: hello@homieos.com
- ๐ฌ Discord: discord.gg/homieAi
- ๐ Issues: GitHub Issues
- ๐ Docs: docs.homieos.com
- ๐ Star us on GitHub - Help others discover the magic
- ๐ฆ Share on Twitter - Spread the home AI revolution
- ๐ Sponsor the project - Keep the innovation flowing
- ๐ค Contribute - Make it even more awesome
Together, we're building the future of home AI infrastructure! ๐
Homie Orchestrator - Because your home AI deserves enterprise-grade reliability with consumer-grade simplicity.