mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2026-01-06 14:37:26 +01:00
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
[supervisord]
|
|
process_name=%(program_name)s_%(process_num)02d
|
|
nodaemon=true
|
|
user=invoiceninja
|
|
pidfile=/var/run/supervisord/supervisord.pid
|
|
logfile=/dev/null ; nodaemon will cause logs to go to stdout
|
|
logfile_maxbytes=0
|
|
loglevel=error
|
|
|
|
[program:php-fpm]
|
|
process_name=%(program_name)s_%(process_num)02d
|
|
autostart=true
|
|
autorestart=true
|
|
redirect_stderr=true
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
command=php-fpm
|
|
|
|
[program:scheduler]
|
|
process_name=%(program_name)s_%(process_num)02d
|
|
autostart=true
|
|
autorestart=true
|
|
redirect_stderr=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
|
|
autostart=true
|
|
autorestart=true
|
|
redirect_stderr=true
|
|
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 --daemon |