feat: enterprise-grade Docker setup for Dokploy deployment
- Add multi-stage Dockerfile (node-builder, composer-builder, production) - Add Nginx config with WebSocket proxy at /_ws path - Add PHP-FPM pool config, php.ini with OPcache tuning - Add Supervisord managing 7 processes: php-fpm, nginx, horizon, scheduler, reverb, pulse-check, pulse-work - Add entrypoint.sh with auto-migration, config caching, storage setup - Add .dockerignore and .env.production.example - Install laravel/horizon for production queue management and dashboard - Install laravel/pulse for production monitoring with Reverb integration - Configure TrustProxies middleware for HTTPS behind Traefik - Add horizon:snapshot to scheduler - Add VITE_REVERB_PATH for WebSocket path routing through Nginx
This commit is contained in:
@@ -9,3 +9,4 @@ Artisan::command('inspire', function (): void {
|
||||
})->purpose('Display an inspiring quote');
|
||||
|
||||
Schedule::command('mailboxes:cleanup')->everyMinute();
|
||||
Schedule::command('horizon:snapshot')->everyFiveMinutes();
|
||||
|
||||
Reference in New Issue
Block a user