ONLYOFFICE / Docker-DocumentServer

ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
GNU Affero General Public License v3.0
1.43k stars 494 forks source link

Docker config parameter ONLYOFFICE_MAX_DOWNLOAD_BYTES #771

Closed jejbq closed 1 month ago

jejbq commented 2 months ago

Feature: Create a Docker config parameter ONLYOFFICE_MAX_DOWNLOAD_BYTES

Can your create a Docker configuration parameter ONLYOFFICE_MAX_DOWNLOAD_BYTES?

The aim is to set the maxDownloadBytes value in /etc/onlyoffice/documentserver/default.json before the container (onlyoffice/documentserver) starts by implementing the following in run-document-server.sh

sed -i -e "s/104857600/${ONLYOFFICE_MAX_DOWNLOAD_BYTES-1073741824}/" ${CONF_DIR}/default.json
supervisorctl restart

Originally posted by @jejbq in https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/770#issuecomment-2333565461

igwyd commented 2 months ago

Duplicate of #770

jejbq commented 2 months ago

@igwyd Please can you remove the invalid label from the ticket #770 ?

Rita-Bubnova commented 1 month ago

@igwyd Please can you remove the invalid label from the ticket #770 ?

Done.