diff --git a/docker/supervisord.conf b/docker/supervisord.conf index 86aa4b3..782e396 100644 --- a/docker/supervisord.conf +++ b/docker/supervisord.conf @@ -8,37 +8,35 @@ command=nginx -g 'daemon off;' autostart=true autorestart=true user=www-data -stderr_logfile=/var/log/nginx/error.log -stdout_logfile=/var/log/nginx/access.log +redirect_stderr=true +stdout_logfile=/dev/stdout +stderr_logfile=/dev/stderr [program:php] command=php-fpm -F autostart=true autorestart=true user=www-data -stdout_logfile=/var/log/supervisor/php.log -stderr_logfile=/var/log/supervisor/php_error.log +redirect_stderr=true +stdout_logfile=/dev/stdout +stderr_logfile=/dev/stderr [program:scheduler] command=php artisan schedule:work autorestart=true -redirect_stderr=true user=www-data +redirect_stderr=true stdout_logfile=/dev/stdout -stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr -stderr_logfile_maxbytes=0 [program:queue-worker] command=php artisan queue:work --sleep=3 --tries=1 --memory=256 --timeout=3600 process_name=%(program_name)s_%(process_num)02d autorestart=true -redirect_stderr=true user=www-data +redirect_stderr=true stdout_logfile=/dev/stdout -stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr -stderr_logfile_maxbytes=0 numprocs=2 [supervisorctl] \ No newline at end of file