- 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
22 lines
457 B
INI
22 lines
457 B
INI
[PHP]
|
|
expose_php = Off
|
|
display_errors = Off
|
|
display_startup_errors = Off
|
|
log_errors = On
|
|
error_log = /dev/stderr
|
|
memory_limit = 256M
|
|
upload_max_filesize = 64M
|
|
post_max_size = 64M
|
|
max_execution_time = 60
|
|
max_input_time = 60
|
|
variables_order = "EGPCS"
|
|
|
|
[opcache]
|
|
opcache.enable=1
|
|
opcache.memory_consumption=256
|
|
opcache.interned_strings_buffer=16
|
|
opcache.max_accelerated_files=20000
|
|
opcache.validate_timestamps=0
|
|
opcache.save_comments=1
|
|
opcache.fast_shutdown=1
|