From 7ba170244f3cd7e88eea2801e4e94cd829df3f71 Mon Sep 17 00:00:00 2001 From: hhyo Date: Fri, 28 Sep 2018 20:30:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9D=E8=B5=96=E5=92=8C=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archer/settings.py | 2 +- downloads/log/.gitkeep | 0 requirements.txt | 8 ++++---- src/docker/nginx.conf | 2 +- src/docker/requirements.txt | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 downloads/log/.gitkeep diff --git a/archer/settings.py b/archer/settings.py index 08b92043e1..fbd044d592 100644 --- a/archer/settings.py +++ b/archer/settings.py @@ -183,7 +183,7 @@ 'default': { 'level': 'DEBUG', 'class': 'logging.handlers.RotatingFileHandler', - 'filename': '/tmp/archer.log', + 'filename': 'downloads/log/archery.log', 'maxBytes': 1024 * 1024 * 100, # 5 MB 'backupCount': 5, 'formatter': 'verbose', diff --git a/downloads/log/.gitkeep b/downloads/log/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/requirements.txt b/requirements.txt index 1420eb9aeb..67795b543c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,12 +3,12 @@ mysqlclient==1.3.13 requests==2.18.4 simplejson==3.14.0 django-apscheduler==0.2.12 -pyecharts==0.5.5 +pyecharts==0.5.11 pyecharts_snapshot==0.1.7 sqlparse==0.2.4 -pycryptodome==3.6.3 +pycryptodome==3.6.6 python-dateutil==2.7.3 -django-auth-ldap==1.7.0 +django-auth-ldap==1.6.1 pymongo==3.7.1 wtforms_json==0.3.3 -mysql-replication==0.13 +mysql-replication==0.18 diff --git a/src/docker/nginx.conf b/src/docker/nginx.conf index 58e07ae387..170488e560 100644 --- a/src/docker/nginx.conf +++ b/src/docker/nginx.conf @@ -39,7 +39,7 @@ http { server{ listen 9123; #监听的端口 server_name archer; - client_max_body_size 900M; + client_max_body_size 20M; proxy_read_timeout 600s; location / { diff --git a/src/docker/requirements.txt b/src/docker/requirements.txt index d701cfe47a..4633407bba 100644 --- a/src/docker/requirements.txt +++ b/src/docker/requirements.txt @@ -3,10 +3,10 @@ mysqlclient==1.3.13 requests==2.18.4 simplejson==3.14.0 django-apscheduler==0.2.12 -pyecharts==0.5.5 +pyecharts==0.5.11 pyecharts_snapshot==0.1.7 sqlparse==0.2.4 -pycryptodome==3.6.3 +pycryptodome==3.6.6 gunicorn==19.7.1 django-auth-ldap==1.6.1 aliyun-python-sdk-core==2.3.5 @@ -15,4 +15,4 @@ aliyun-python-sdk-rds==2.1.1 python-dateutil==2.7.3 pymongo==3.7.1 wtforms_json==0.3.3 -mysql-replication==0.13 +mysql-replication==0.18