2d25d3848c
# Conflicts: # bootstrap/helpers.php # docker/dev/supervisord.conf
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
user=root
|
|
logfile=/var/log/supervisor/supervisord.log
|
|
pidfile=/var/run/supervisord.pid
|
|
|
|
[program:php]
|
|
command=/usr/bin/php -d variables_order=EGPCS /var/www/html/artisan serve --host=0.0.0.0 --port=80
|
|
user=sail
|
|
environment=LARAVEL_SAIL="1"
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
|
|
# Run workers by running manually `sail artisan queue:listen`
|
|
#
|
|
#[program:laravel-worker]
|
|
#process_name=%(program_name)s_%(process_num)02d
|
|
#command=/usr/bin/php -d variables_order=EGPCS /var/www/html/artisan queue:listen
|
|
#user=sail
|
|
#autostart=true
|
|
#autorestart=true
|
|
#stopasgroup=true
|
|
#killasgroup=true
|
|
#numprocs=8
|
|
#redirect_stderr=true
|
|
#stdout_logfile=/var/www/html/storage/logs/worker.log
|
|
#stopwaitsecs=3600
|
|
|
|
[program:laravel-schedule]
|
|
process_name=%(program_name)s_%(process_num)02d
|
|
command=/usr/bin/php -d variables_order=EGPCS /var/www/html/artisan schedule:work
|
|
user=sail
|
|
autostart=true
|
|
autorestart=true
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
numprocs=1
|
|
redirect_stderr=true
|
|
stdout_logfile=/var/www/html/storage/logs/worker.log
|
|
stopwaitsecs=3600
|