Skip to content

Commit

Permalink
feat: 8.0.1.1
Browse files Browse the repository at this point in the history
feat: 修改文件大小默认为500M
  • Loading branch information
beeant0512 committed Mar 8, 2024
1 parent d651ae4 commit 6e7fe93
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 镜像来源
FROM xbeeant/oo-unlimit:7.4.0.1
FROM xbeeant/oo-unlimit:8.0.1.1

# 移除一些插件
RUN rm -rf /var/www/onlyoffice/documentserver/sdkjs-plugins/youtube
Expand All @@ -23,12 +23,15 @@ ADD plugin-doc2md /var/www/onlyoffice/documentserver/sdkjs-plugins/doc2md
ADD plugin-wordscounter /var/www/onlyoffice/documentserver/sdkjs-plugins/wordscounter

# 修正hightlight js引用问题
RUN sed -i "s/https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/2.2.2\/jquery.min.js/vendor\/jQuery-2.2.2-min\/jquery-v2.2.2-min.js/" /var/www/onlyoffice/documentserver/sdkjs-plugins/highlightcode/index.html
# RUN sed -i "s/https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/2.2.2\/jquery.min.js/vendor\/jQuery-2.2.2-min\/jquery-v2.2.2-min.js/" /var/www/onlyoffice/documentserver/sdkjs-plugins/highlightcode/index.html

# 修改文件缓存时间
# 修改24小时为1小时
# RUN sed -i "s/86400/3600/" /etc/onlyoffice/documentserver/default.json

# 修改文件大小为500M
RUN sed -i "s/104857600/524288000/" /etc/onlyoffice/documentserver/default.json

EXPOSE 80 443

ARG COMPANY_NAME=onlyoffice
Expand Down

0 comments on commit 6e7fe93

Please sign in to comment.