diff --git a/alpine/5/rootfs/etc/supervisord.conf b/alpine/5/rootfs/etc/supervisord.conf index b4817b9..ddaefb8 100644 --- a/alpine/5/rootfs/etc/supervisord.conf +++ b/alpine/5/rootfs/etc/supervisord.conf @@ -6,29 +6,33 @@ logfile_maxbytes=0 loglevel=info [program:php-fpm] +command=php-fpm stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 -command=php-fpm [program:scheduler] +command=php artisan schedule:work autorestart=true stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 -command=php artisan schedule:work [program:queue-worker] process_name=%(program_name)s_%(process_num)02d +command=php artisan queue:work --sleep=3 --tries=1 --timeout=3600 +autostart=true autorestart=true +stopasgroup=true +killasgroup=true +numprocs=2 stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 -numprocs=2 -command=php artisan queue:work --sleep=3 --tries=1 --memory=256 --timeout=3600 +stopwaitsecs=3600 [eventlistener:shutdown] command=shutdown.sh