python启动方式变化1
This commit is contained in:
@@ -9,7 +9,7 @@ debug = False
|
|||||||
reload = False
|
reload = False
|
||||||
loglevel = 'debug'
|
loglevel = 'debug'
|
||||||
pidfile = "logs/gunicorn.pid"
|
pidfile = "logs/gunicorn.pid"
|
||||||
accesslog = "logs/access.log" # 每个接口调用会展示在access.log中
|
accesslog = "-" # 输出到容器标准输出,便于 docker logs 查看
|
||||||
errorlog = "logs/debug.log" # 未处理的报错会在debug.log日志中展示
|
errorlog = "-" # 输出到容器标准错误,便于 docker logs 查看
|
||||||
timeout = 300 # 每个接口的超时时间
|
timeout = 300 # 每个接口的超时时间
|
||||||
daemon = False # 容器内以前台方式运行,避免主进程退出
|
daemon = False # 容器内以前台方式运行,避免主进程退出
|
||||||
|
|||||||
Reference in New Issue
Block a user