Skip to content

feat: set file size in .env - #385

Closed
aayushchugh wants to merge 1 commit into
docmost:mainfrom
aayushchugh:aayushchugh/max-file-size
Closed

aayushchugh wants to merge 1 commit into
docmost:mainfrom
aayushchugh:aayushchugh/max-file-size

Conversation

@aayushchugh

@aayushchugh aayushchugh commented Oct 10, 2024 •

Copy link
Copy Markdown

Give the option to users to set the max file size using the MAX_FILE_SIZE variable in the .env config

if no size is provided, 50MB will be used as the default value.

fixes #382 , closes #349 , closes #170

@Philipinho

Copy link
Copy Markdown
Member

Thank you for your contribution. I didn't know you were working on it.
I just pushed my local copy with much deeper integration #386.
I will be closing this, since that is more elaborate.
Feel free to review.

@Philipinho Philipinho closed this Oct 10, 2024
@aayushchugh

Copy link
Copy Markdown
Author

No worries

@Byzeal

Byzeal commented Mar 10, 2025

Copy link
Copy Markdown

Why is my change still limited to 50mb?

@Philipinho

Copy link
Copy Markdown
Member

@Byzeal, it is a configurable environment variable. You can always change it from the default 50mb limit.
Example:

FILE_UPLOAD_SIZE_LIMIT=100mb

vvzvlad pushed a commit to vvzvlad/gitmost that referenced this pull request Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants