提交 f79fcbef authored 作者: chenhuan's avatar chenhuan

fix

上级 4e979870
......@@ -47,5 +47,17 @@ stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopsignal=QUIT
[program:worker]
process_name=%(program_name)s_%(process_num)02d
command=php /var/www/html queue:work sqs --sleep=3 --tries=3
autostart=true
autorestart=true
user=forge
numprocs=2
redirect_stderr=true
stdout_logfile=/dev/stdout
stopwaitsecs=3600
[include]
files = /etc/supervisor/conf.d/*.conf
......@@ -143,9 +143,9 @@ if [ ! -z "$PHP_ERRORS_STDERR" ]; then
fi
# Increase the memory_limit
if [ ! -z "$PHP_MEM_LIMIT" ]; then
sed -i "s/memory_limit = 128M/memory_limit = ${PHP_MEM_LIMIT}M/g" /usr/local/etc/php/conf.d/docker-vars.ini
fi
#if [ ! -z "$PHP_MEM_LIMIT" ]; then
sed -i "s/memory_limit = 512M/memory_limit = ${PHP_MEM_LIMIT}M/g" /usr/local/etc/php/conf.d/docker-vars.ini
#fi
# Increase the post_max_size
if [ ! -z "$PHP_POST_MAX_SIZE" ]; then
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论