-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to modify the upload file size to 100MB in the local deployment version of docker? Want to know the specific steps #3865
Comments
To modify the upload file size to 100MB in your local Docker deployment, you'll need to adjust both the application's configuration and the Nginx configuration if Nginx is being used. Here's how you can do it:
After making these changes, rebuild your Docker containers and restart your application and Nginx service to apply the new upload file size limit. Please ensure to check other related configurations and be aware of potential issues that could arise from increasing the upload file size limit.
|
Find the env example file under in there, you are looking for edit to what you wish and rename the file to .env copy the .env file to The docker-compose.yaml file needs to have the environment variable entry added.
run your docker-compose up -d like usual. After that, all your configuration scripts will built off that. You should do not have to manually edit any other files one thing to watch out for is making the limits too large and your embedding API will time out, and the token estimate generator may not return in time and also time out. A general rule of thumb I like to keep is if you are loading many small files is not a problem but if you are loading larger files do one or two at a time, do not load the entire thing up as much as possible because things start timing out and you'll have to delete the partial entry and redo it again anyway |
See environments in docs |
Self Checks
Provide a description of requested docs changes
How to modify the upload file size to 100MB in the local deployment version of docker? Want to know the specific steps
The text was updated successfully, but these errors were encountered: