mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2026-02-06 06:07:12 +01:00
Adjustments for supervisor
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
[supervisord]
|
[supervisord]
|
||||||
|
process_name=%(program_name)s_%(process_num)02d
|
||||||
nodaemon=true
|
nodaemon=true
|
||||||
user=invoiceninja
|
user=invoiceninja
|
||||||
pidfile=/var/run/supervisord/supervisord.pid
|
pidfile=/var/run/supervisord/supervisord.pid
|
||||||
@@ -7,6 +8,7 @@ logfile_maxbytes=0
|
|||||||
loglevel=error
|
loglevel=error
|
||||||
|
|
||||||
[program:php-fpm]
|
[program:php-fpm]
|
||||||
|
process_name=%(program_name)s_%(process_num)02d
|
||||||
stdout_logfile=/dev/stdout
|
stdout_logfile=/dev/stdout
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
@@ -14,6 +16,7 @@ stderr_logfile_maxbytes=0
|
|||||||
command=php-fpm
|
command=php-fpm
|
||||||
|
|
||||||
[program:scheduler]
|
[program:scheduler]
|
||||||
|
process_name=%(program_name)s_%(process_num)02d
|
||||||
stdout_logfile=/dev/stdout
|
stdout_logfile=/dev/stdout
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
@@ -21,6 +24,7 @@ stderr_logfile_maxbytes=0
|
|||||||
command=php artisan schedule:work
|
command=php artisan schedule:work
|
||||||
|
|
||||||
[program:queue-worker]
|
[program:queue-worker]
|
||||||
|
process_name=%(program_name)s_%(process_num)02d
|
||||||
stdout_logfile=/dev/stdout
|
stdout_logfile=/dev/stdout
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
|
|||||||
Reference in New Issue
Block a user