Skip to content
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

Added env MAX_UPLOAD_SIZE to override default of 400MB #238

Merged
merged 2 commits into from
Dec 2, 2020

Conversation

sambles
Copy link
Contributor

@sambles sambles commented Nov 11, 2020

Added env option to override the default maximum of 400MB file request size

MAX_UPLOAD_SIZE=<size max in megabytes>

Example docker-compose

  user-interface:
    image: coreoasis/oasisui_app:max_upload
    environment:
     - API_IP=server
     - API_PORT=8000
     - API_VERSION=v1
     - API_SHARE_FILEPATH=./downloads
     - OASIS_ENVIRONMENT=oasis_localhost
     - MAX_UPLOAD_SIZE=1000    
    ports:
     - 8080:3838 

@sambles sambles changed the base branch from master to develop November 11, 2020 12:58
@sambles sambles requested a review from RolandASc November 11, 2020 13:00
@sambles sambles linked an issue Nov 11, 2020 that may be closed by this pull request
@sambles sambles merged commit 20799ab into develop Dec 2, 2020
@sambles sambles deleted the feature/236-env-set-upload-max branch December 2, 2020 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

User option to increase max file size upload
1 participant