mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-04 08:27:46 +08:00
feat: 添加Gunicorn配置优化并改进Docker构建配置
- 新增 gunicorn_conf.py 配置文件,实现: - GC冻结优化以改善Copy-on-Write内存共享 - Worker RSS内存监控日志 - 添加 --max-requests 和 --max-requests-jitter 防止内存泄漏 - 改进 Dockerfile 配置: - 修复 Nginx 静态文件目录权限问题 - 简化 docker-compose 配置: - 移除冗余的 PYTHONIOENCODING/LANG/LC_ALL 环境变量
This commit is contained in:
@@ -54,9 +54,6 @@ services:
|
||||
GUNICORN_WORKERS: ${GUNICORN_WORKERS:-4}
|
||||
# 容器级别设置
|
||||
TZ: Asia/Shanghai
|
||||
PYTHONIOENCODING: utf-8
|
||||
LANG: C.UTF-8
|
||||
LC_ALL: C.UTF-8
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
|
||||
Reference in New Issue
Block a user