How factorial-io/scotty works
Main System Components
a) Core Server Components:
• API Server (Rust-based HTTP server)
• WebSocket Server
• Task Manager
• Docker Integration Layer
• Configuration Manager
• Notification System
b) External Components:
• Docker Engine
• Traefik/HAProxy (Load Balancers)
• Client Applications (CLI & Web UI)
• Notification Services (GitLab, Mattermost, Webhooks)
Key Relationships to Highlight
• Data flow between components
• Command execution paths
• Event notification routes
• Configuration management flow
Technical Details
Annotations for:
• Port numbers (21342)
• Volume mounts (/app/apps)
• Network configurations
• Authentication flow
• Configuration paths
Implementation Notes
• The modular Rust-based architecture
• Docker-compose based application management
• Real-time updates via WebSocket
• Multiple reverse proxy support
• Notification service integration