From e5ce672e167b734a707929b8851d53464147cb1d Mon Sep 17 00:00:00 2001 From: "sosuke.iwabuchi" Date: Mon, 29 May 2023 21:38:05 +0900 Subject: [PATCH] =?UTF-8?q?docker=E6=95=B4=E5=82=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/8.2/php.ini | 3 --- docker/8.2/supervisord.conf | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 3 deletions(-) diff --git a/docker/8.2/php.ini b/docker/8.2/php.ini index 2a6d903..39dcbca 100644 --- a/docker/8.2/php.ini +++ b/docker/8.2/php.ini @@ -5,6 +5,3 @@ variables_order = EGPCS [opcache] opcache.enable_cli=1 - -[xdebug] -xdebug.start_with_request=yes \ No newline at end of file diff --git a/docker/8.2/supervisord.conf b/docker/8.2/supervisord.conf index 9d28479..c5da80d 100644 --- a/docker/8.2/supervisord.conf +++ b/docker/8.2/supervisord.conf @@ -12,3 +12,40 @@ stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 + + +[program:laravel-email-worker] +process_name=%(program_name)s_%(process_num)02d +command=/usr/bin/php /var/www/html/artisan queue:work --queue=email --max-time=60 +autostart=true +autorestart=true +stopasgroup=true +killasgroup=true +user=sail +numprocs=1 +redirect_stderr=true +stopwaitsecs=100 +stdout_logfile=/var/www/html/storage/logs/laravel-email-worker.log +stderr_logfile=/var/www/html/storage/logs/laravel-email-worker.error.log +stdout_logfile_maxbytes=1000000 +stderr_logfile_maxbytes=1000000 +stdout_logfile_backups=3 +stderr_logfile_backups=3 + +[program:laravel-sms-worker] +process_name=%(program_name)s_%(process_num)02d +command=/usr/bin/php /var/www/html/artisan queue:work --queue=sms --max-time=60 +autostart=true +autorestart=true +stopasgroup=true +killasgroup=true +user=sail +numprocs=1 +redirect_stderr=true +stopwaitsecs=100 +stdout_logfile=/var/www/html/storage/logs/laravel-sms-worker.log +stderr_logfile=/var/www/html/storage/logs/laravel-sms-worker.error.log +stdout_logfile_maxbytes=1000000 +stderr_logfile_maxbytes=1000000 +stdout_logfile_backups=3 +stderr_logfile_backups=3 \ No newline at end of file