mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2026-01-29 10:17:10 +01:00
align supervisord to laravel docs/debian
This commit is contained in:
@@ -6,29 +6,33 @@ logfile_maxbytes=0
|
|||||||
loglevel=info
|
loglevel=info
|
||||||
|
|
||||||
[program:php-fpm]
|
[program:php-fpm]
|
||||||
|
command=php-fpm
|
||||||
stdout_logfile=/dev/stdout
|
stdout_logfile=/dev/stdout
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
stderr_logfile_maxbytes=0
|
stderr_logfile_maxbytes=0
|
||||||
command=php-fpm
|
|
||||||
|
|
||||||
[program:scheduler]
|
[program:scheduler]
|
||||||
|
command=php artisan schedule:work
|
||||||
autorestart=true
|
autorestart=true
|
||||||
stdout_logfile=/dev/stdout
|
stdout_logfile=/dev/stdout
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
stderr_logfile_maxbytes=0
|
stderr_logfile_maxbytes=0
|
||||||
command=php artisan schedule:work
|
|
||||||
|
|
||||||
[program:queue-worker]
|
[program:queue-worker]
|
||||||
process_name=%(program_name)s_%(process_num)02d
|
process_name=%(program_name)s_%(process_num)02d
|
||||||
|
command=php artisan queue:work --sleep=3 --tries=1 --timeout=3600
|
||||||
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
|
stopasgroup=true
|
||||||
|
killasgroup=true
|
||||||
|
numprocs=2
|
||||||
stdout_logfile=/dev/stdout
|
stdout_logfile=/dev/stdout
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
stderr_logfile_maxbytes=0
|
stderr_logfile_maxbytes=0
|
||||||
numprocs=2
|
stopwaitsecs=3600
|
||||||
command=php artisan queue:work --sleep=3 --tries=1 --memory=256 --timeout=3600
|
|
||||||
|
|
||||||
[eventlistener:shutdown]
|
[eventlistener:shutdown]
|
||||||
command=shutdown.sh
|
command=shutdown.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user