How cytopia/devilbox works
Main Components Overview
┌─────────────────────────────────────────────────────────────────┐
• Devilbox Environment │
• ┌─────────┐ ┌──────────┐ ┌─────────┐ ┌────────────┐ │
• Webserver│ │ PHP │ │ Database│ │ Services │ │
• (HTTPD) │◄──►│ (FPM) │◄──►│ (SQL/ │◄──►│(Cache/Mail/│ │
• NoSQL) │ │ Queue) │ │
• ┘ └──────────┘ └─────────┘ └────────────┘ │
• ▲ ▲ ▲ ▲ │
• ┼────────────┼──────────────┼────────────────┼─────────┘
• ┌─────┴────────────┴──────────────┴────────────────┴─────┐
• Docker Network │
• ┘
Detailed Component Breakdown
a) Webserver Layer:
┌─────────────────────────┐
• Web Servers │
• ┤
• Apache 2.2 │
• Apache 2.4 │
• Nginx stable │
• Nginx mainline │
• ┘
b) PHP Layer:
┌─────────────────────────┐
• PHP Versions │
• ┤
• PHP 5.2 - 5.6 │
• PHP 7.0 - 7.4 │
• PHP 8.0 - 8.2 │
• ┘
Service Integration Layer
How different services connect:
┌─────────────────────────────────────────────────┐
• Service Integration │
• ┤
• ┌─────────┐ ┌─────────┐ ┌─────────────────┐ │
• MySQL │ │ MongoDB │ │ Cache Services │ │
• MariaDB │ │ Redis │ │ - Memcached │ │
• Percona │ └─────────┘ │ - Redis │ │
• ┘ └─────────────────┘ │
• ┘
Development Tools Integration
Development tooling layer:
┌─────────────────────────────────────────────┐
• Development Tools │
• ┤
• ┌─────────┐ ┌─────────┐ ┌─────────────┐ │
• Composer│ │ Node.js │ │ Build Tools │ │
• PHP CLI │ │ npm/yarn│ │ - Webpack │ │
• XDebug │ └─────────┘ │ - Gulp │ │
• ┘ └─────────────┘ │
• ┘
Project Structure
┌─────────────────────────────────────────┐
• Project Structure │
• ┤
• cfg/ (Configuration) │
• data/ (Project Files) │
• log/ (Log Files) │
• .devilbox/ (Internal Files) │
• ┘
Networking Layer
How the networking is configured:
┌────────────────────────────────────────┐
• Networking Layer │
• ┤
• Auto DNS Resolution │
• Custom Domains (.dvl.to) │
• SSL/TLS Support │
• Reverse Proxy Integration │
• ┘