How ryanb58/coolify works
Main Components Identification
a) Core Application Components:
• Frontend (Laravel Livewire + Vue.js components)
• Backend (Laravel PHP framework)
• Real-time Server (WebSocket server in docker/coolify-realtime)
• Helper Service (docker/coolify-helper)
• Database Layer (supports multiple databases)
• Queue System (Laravel Horizon)
• Scheduler Worker
b) External Services Integration:
• Git Providers (GitHub, GitLab, Bitbucket, Gitea)
• Docker Registry
• S3 Storage Services
• Email Services
• Monitoring Systems
┌─ Client Layer ─────────────────────┐
• Web Interface │
• API Consumers │
• ┬─┘
┌─ Application Layer ───────────────┴─┐
• ┌─ Web Server (Nginx) ─────────────┐│
• Static Assets ││
• PHP-FPM ││
• ┬─┘│
• ┌─ Core Services ────────────────┴─┐│
• Authentication ││
• Project Management ││
• Deployment Pipeline ││
• Resource Management ││
• ┬─┘│
• ┌─ Background Services ───────────┴─┐│
• Queue Workers (Horizon) ││
• Scheduler ││
• WebSocket Server ││
• ┬─┘│
• ┼──┘
┌─ Infrastructure Layer ────────────┴─┐
• Database Servers │
• Docker Engine │
• Storage Systems │
• Cache (Redis) │
• ┬──┘
┌─ External Services ───────────────┴─┐
• Git Providers │
• Cloud Storage │
• Email Services │
• Monitoring │
• ┘
Key Interactions to Highlight
• User authentication flow
• Deployment pipeline process
• Real-time updates via WebSocket
• Background job processing
• Database interactions
• External service integrations
Additional Elements
Important aspects:
• Security boundaries
• Load balancing
• Data flow directions
• Scaling points
• Backup systems
• Monitoring points
Specific Implementation Details
• Docker containerization
• Multiple database support
• SSH connections to managed servers
• Git repository interactions
• Queue system for background jobs
• Real-time event broadcasting