diff --git a/docker/supervisord.conf b/docker/supervisord.conf index 44a392c..b24190e 100644 --- a/docker/supervisord.conf +++ b/docker/supervisord.conf @@ -8,6 +8,7 @@ pidfile=/var/run/supervisord.pid 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 @@ -15,6 +16,7 @@ stdout_logfile=/var/log/nginx/access.log 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 @@ -22,6 +24,7 @@ stderr_logfile=/var/log/supervisor/php_error.log command=php artisan schedule:work autorestart=true redirect_stderr=true +user=www-data stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr @@ -32,6 +35,7 @@ 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 stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr