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