diff --git a/ci/ci.sh b/ci/ci.sh index 5fe01fb..84d685a 100755 --- a/ci/ci.sh +++ b/ci/ci.sh @@ -1,6 +1,6 @@ #!/bin/bash -version=6.3.7 +version=6.3.9 set -e -x ./ci/install_deps.sh diff --git a/cluster/image/pro_seafile/templates/seafile.nginx.conf.template b/cluster/image/pro_seafile/templates/seafile.nginx.conf.template index fe02cb0..cbbbf76 100644 --- a/cluster/image/pro_seafile/templates/seafile.nginx.conf.template +++ b/cluster/image/pro_seafile/templates/seafile.nginx.conf.template @@ -48,6 +48,7 @@ server { client_max_body_size 0; proxy_connect_timeout 36000s; proxy_read_timeout 36000s; + proxy_request_buffering off; } location /seafdav { diff --git a/image/Makefile b/image/Makefile index 14e3ea7..2028ce7 100644 --- a/image/Makefile +++ b/image/Makefile @@ -1,4 +1,4 @@ -server_version=6.3.7 +server_version=6.3.9 base_image=seafileltd/base:18.04 base_image_squashed=seafileltd/base:18.04-squashed diff --git a/image/pro_seafile/Dockerfile b/image/pro_seafile/Dockerfile index 19efd2e..58bd0ab 100644 --- a/image/pro_seafile/Dockerfile +++ b/image/pro_seafile/Dockerfile @@ -1,7 +1,7 @@ FROM seafileltd/pro-base:18.04 WORKDIR /opt/seafile -ENV SEAFILE_VERSION=6.3.7 SEAFILE_SERVER=seafile-pro-server +ENV SEAFILE_VERSION=6.3.9 SEAFILE_SERVER=seafile-pro-server RUN mkdir -p /etc/my_init.d @@ -15,4 +15,6 @@ ADD scripts/create_data_links.sh /etc/my_init.d/01_create_data_links.sh COPY scripts /scripts COPY templates /templates +EXPOSE 80 + CMD ["/sbin/my_init", "--", "/scripts/start.py"] diff --git a/image/pro_seafile/templates/seafile.nginx.conf.template b/image/pro_seafile/templates/seafile.nginx.conf.template index 574f4ab..3e4e59c 100644 --- a/image/pro_seafile/templates/seafile.nginx.conf.template +++ b/image/pro_seafile/templates/seafile.nginx.conf.template @@ -57,6 +57,7 @@ server { client_max_body_size 0; proxy_connect_timeout 36000s; proxy_read_timeout 36000s; + proxy_request_buffering off; } location /seafdav { diff --git a/image/seafile/templates/seafile.nginx.conf.template b/image/seafile/templates/seafile.nginx.conf.template index 30b04bd..321131b 100644 --- a/image/seafile/templates/seafile.nginx.conf.template +++ b/image/seafile/templates/seafile.nginx.conf.template @@ -58,6 +58,7 @@ server { client_max_body_size 0; proxy_connect_timeout 36000s; proxy_read_timeout 36000s; + proxy_request_buffering off; } location /seafdav {