# Converge SaaS Deployment Guide ## Production Setup (Nginx + PHP-FPM + MySQL) ### Requirements - PHP 8.2+ - MySQL 8.0+ - Nginx 1.24+ - Redis 7+ (optional) ### Quick Start ```bash # Clone and deploy git clone https://github.com/your-org/converge.git cd converge composer install --no-dev --optimize-autoloader cp config/config.example.php config/config.php # Edit config.php with your DB credentials ``` ### Nginx Config See `docker/nginx.conf` for the reference Nginx configuration. ### Environment Variables | Variable | Description | |----------|-------------| | `DB_HOST` | MySQL host | | `DB_NAME` | Database name | | `DB_USER` | Database user | | `DB_PASS` | Database password | | `REDIS_URL` | Redis connection URL | | `APP_URL` | Application URL (for CORS/billing) | ### Docker Deployment See `Dockerfile` and `docker/` directory for containerized deployment.