Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
docker
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
提交
问题看板
Open sidebar
陈欢
docker
Commits
f79fcbef
提交
f79fcbef
authored
6月 23, 2022
作者:
chenhuan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix
上级
4e979870
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
15 行增加
和
3 行删除
+15
-3
supervisord.conf
base-images/nginx-php-fpm-main/conf/supervisord.conf
+12
-0
start.sh
base-images/nginx-php-fpm-main/scripts/start.sh
+3
-3
没有找到文件。
base-images/nginx-php-fpm-main/conf/supervisord.conf
浏览文件 @
f79fcbef
...
@@ -47,5 +47,17 @@ stderr_logfile=/dev/stderr
...
@@ -47,5 +47,17 @@ stderr_logfile=/dev/stderr
stderr_logfile_maxbytes
=
0
stderr_logfile_maxbytes
=
0
stopsignal
=
QUIT
stopsignal
=
QUIT
[
program
:
worker
]
process_name
=%(
program_name
)
s_
%(
process_num
)
02
d
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
]
[
include
]
files
= /
etc
/
supervisor
/
conf
.
d
/*.
conf
files
= /
etc
/
supervisor
/
conf
.
d
/*.
conf
base-images/nginx-php-fpm-main/scripts/start.sh
浏览文件 @
f79fcbef
...
@@ -143,9 +143,9 @@ if [ ! -z "$PHP_ERRORS_STDERR" ]; then
...
@@ -143,9 +143,9 @@ if [ ! -z "$PHP_ERRORS_STDERR" ]; then
fi
fi
# Increase the memory_limit
# Increase the memory_limit
if
[
!
-z
"
$PHP_MEM_LIMIT
"
]
;
then
#
if [ ! -z "$PHP_MEM_LIMIT" ]; then
sed
-i
"s/memory_limit =
128
M/memory_limit =
${
PHP_MEM_LIMIT
}
M/g"
/usr/local/etc/php/conf.d/docker-vars.ini
sed
-i
"s/memory_limit =
512
M/memory_limit =
${
PHP_MEM_LIMIT
}
M/g"
/usr/local/etc/php/conf.d/docker-vars.ini
fi
#
fi
# Increase the post_max_size
# Increase the post_max_size
if
[
!
-z
"
$PHP_POST_MAX_SIZE
"
]
;
then
if
[
!
-z
"
$PHP_POST_MAX_SIZE
"
]
;
then
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论