How av/harbor works
Main Components Overview
a) User Interface Layer
• Harbor CLI (primary interface)
• Harbor App (companion GUI application)
• Web-based UIs (Open WebUI, ComfyUI, LibreChat, etc.)
b) Service Management Layer
• Docker Compose Orchestration
• Configuration Management
• Profile Management
• Cache Management
• Frontend Services (Blue)
• Backend Services (Green)
• Satellite Services (Orange)
• Utility Services (Purple)
Core Architectural Elements
a) Harbor Core Components:
┌─ Harbor CLI ─────────────────┐
• Service Management │
• Configuration Management │
• Cache Management │
• Profile Management │
• ┘
┌─ Harbor App ────────────────┐
• GUI Interface │
• Service Control Panel │
• Configuration Editor │
• ┘
b) Service Architecture:
┌─ Frontend Services ──┐ ┌─ Backend Services ──┐ ┌─ Satellite Services ┐
• Open WebUI │━━━▶│ - Ollama │◀━━━│ - Harbor Bench │
• ComfyUI │ │ - llama.cpp │ │ - Harbor Boost │
• LibreChat │ │ - vLLM │ │ - SearXNG │
• ┘ └───────────────────────┘ └───────────────────┘
Key Interactions to Highlight
a) Configuration Flow:
User Input ──▶ Harbor CLI/App ──▶ Docker Compose ──▶ Service Configuration
• ▲ │
• ┘
• Configuration Feedback
b) Cache Sharing:
┌─ Shared Cache ────────────┐
• HuggingFace Models │
• Ollama Models │
• Service Data │
• ┘
• ▲ ▲ ▲
• Service1 Service2 Service3
Integration Points
Connections between services with different line styles:
Special Features to Highlight
a) Service Management:
┌─ Harbor Management ─────┐
• Service Start/Stop │
• Health Monitoring │
• Log Management │
• Configuration │
• ┘
b) Profile System:
┌─ Profile Management ────┐
• Profile Selection │
• Config Templates │
• Environment Vars │
• ┘
Implementation Details
Technical details such as:
• Docker container relationships
• Network configuration
• Volume mounts
• Environment variable flow