Deployment: Upgrade Dockerfile with multi-stage asset building, add Redis service and queue workers

This commit is contained in:
2026-05-21 04:00:30 +00:00
parent fc9158b928
commit ffbfde943c
4 changed files with 45 additions and 2 deletions

View File

@@ -13,3 +13,16 @@ stdout_logfile_maxbytes=0
command=nginx -g 'daemon off;'
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
[program:laravel-worker]
process_name=%(program_name)s_%(process_num)02d
command=php /var/www/html/artisan queue:work --sleep=3 --tries=3 --max-time=3600
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
numprocs=1
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0