浏览代码

docker整備

develop
sosuke.iwabuchi 2 年前
父节点
当前提交
e5ce672e16
共有 2 个文件被更改,包括 37 次插入3 次删除
  1. +0
    -3
      docker/8.2/php.ini
  2. +37
    -0
      docker/8.2/supervisord.conf

+ 0
- 3
docker/8.2/php.ini 查看文件

@@ -5,6 +5,3 @@ variables_order = EGPCS

[opcache]
opcache.enable_cli=1

[xdebug]
xdebug.start_with_request=yes

+ 37
- 0
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

正在加载...
取消
保存