python启动方式变化1

This commit is contained in:
qiaoxinjiu
2026-04-15 11:19:55 +08:00
parent 77f94f9aa3
commit e75c8b9a44

View File

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